Domain Name System (DNS) is a service that provides the resolution of host names to IP addresses.

learn more… | top users | synonyms

1
vote
1answer
174 views

Avahi commands not working in CentOS

I want to use Avahi tools for mDNS service discovery in CentOS 6.6. I have installed the following packages: avahi, avahi-tools, nss-mdns. I checked the Avahi daemon and it is running: $ service ...
0
votes
1answer
19 views

PHP framwework, multiple sites and httpd and DNS

I'm wondering if this is possible: There is a PHP framework and someone made several sites, which can be accessible like this: .../index.php/aaa .../index.php/ccc I would like to somehow map DNS to ...
0
votes
0answers
13 views

BIND cannot map one name

I setup a BIND sever. Let domain be example.com, httpd running. There is a separate zone for aliases to another domain, different.com I setup zone file for different.com to be: am IN CNAME ...
0
votes
0answers
105 views

How can I have hosts register their IPv6 addresses in Windows DNS

Windows clients support registering their IPv4 and IPv6 addresses in DNS after obtaining the address from a DHCP server or via IPv6 Router Advertisements. For my CentOS 7 and Fedora 21 boxes I'd like ...
0
votes
0answers
113 views

connman connections extremely flaky and slow

I'm trying to configure my system to be able to connect via either ethernet or wifi with connman. I was able to hotplug my ethernet with systemctl restart dhcpcd.service previously, but I'd like to ...
1
vote
1answer
61 views

iptables, differentiate ports based on hostname

Is there a way, using iptables, to ACCEPT traffic from HOSTNAME1, HOSTNAME2, HOSTNAME3 to port 22 and FORWARD traffic from everyone else to a different port and make the rule persistent? ...
1
vote
2answers
75 views

Resolving IP address to get Domain Name

How to make my server be resolved by IP address and get the domain name. For example: then Anyone can use: resolveip <my-ip> And get the output of my domain name; like www.xyz.com.
1
vote
1answer
233 views

How can I make my primary DNS take priority over other servers?

Note - I believe my title is the way it's meant to be... I used dnsmasq on my server and it sets DNS (via DHCP) to clients as: 192.168.2.1 (local server) ISP DNS 1 ISP DNS 2 This at least works - ...
2
votes
1answer
249 views

Exim4 DNS issues

I'm trying to forward the emails from my Debian server to my usual email address. I'm probably missing something important, as I can't find a good solution online looking for the following error ...
1
vote
0answers
254 views

DNS suddenly stops working for a particular network on a particular machine, DNS_PROBE_FINISHED_BAD_CONFIG

I'm staying somewhere for a while where there are two wifi networks. One's mediocre, one sucks. The mediocre one worked fine on my HP machine with a Realtek card running Mint for several days. ...
2
votes
1answer
168 views

Can I Mix Multiple Nameserver Sources in resolv.conf

In the list of nameservers in resolv.conf, can I use different nameservers (one from ISP, one from Google, etc..) in each line or does it all have to be from same source? Example: nameserver ...
0
votes
1answer
62 views

set network manager dns in ubuntu

I have Ubuntu 14.10. When I'm at work I can browse the internet without problems. Now that I'm at home, I can connect, but I'm not able to browse the web. Some informations: the output of ifconfig: ...
0
votes
1answer
58 views

Why won't my BIND / Apache configuration work?

I am trying to set up a BIND configuration with an Apache webserver. What I am trying to achieve is to by using the URL www.exampler.net access the content that can be found on my Apache webserver's ...
1
vote
0answers
85 views

Adding a Wildcard to PowerDNS

Ok, first, full disclosure: I'm a total noob at this and could be going about it all wrong. I'm trying to use a server on my network (in this test case a Raspberry Pi running Raspbian) as the DNS ...
0
votes
0answers
10 views

dns dsc auto refresh

I installed the DNS traffic monitoring tool DSC in the centos6.4, but the DSC Apache page is static, how to set up to automatically refresh? For example, each minute refresh time
3
votes
1answer
216 views

resolvconf writing invalid resolv.conf file

Every time I connect to my VPN I lose DNS with an error of, "cannot parse /etc/resolv.conf" The offending line is line 1 being an empty "domain". So after connecting to the VPN my resolv.conf file ...
0
votes
1answer
163 views

BIND/DNSMASQ query hanging on ubuntu server 14.04.1

I'm testing out a BIND and DNSMASQ configuration on my VPS. When I run a program which submits a bunch of queries (around 10-20 per second) my DNS replies stop coming back for a random amount of time. ...
1
vote
2answers
114 views

How do devices add DNS entries on a local network?

I have a D-Link WiFi extender DAP-1320, and somehow, when it gets plugged in, it enables my Linux box to resolve dlinkap.local to its IP address. I don't have to add anything to /etc/hosts. In the ...
0
votes
1answer
232 views

Running HMA Pro VPN on Kali Linux

I've installed HMA VPN on my Kali Linux distro but I'm having problems connecting to a VPN IP address. I run the command ./hma-vpn.sh -l "Amsterdam" for example, and then I try to connect to a ...
3
votes
2answers
4k views

apache won't restart after adding VirtualHost conf file, why not?

In a CentOS 7 server, I get the following error when I type sudo apachectl restart after I add an include file at the bottom of httpd.conf: Job for httpd.service failed. See 'systemctl status ...
-1
votes
1answer
82 views

Cannot Intentionally break/stop DNS via /etc/resolv.conf - Always resolving no matter NS config

I am still learning linux, and so far having great trouble in the networking and DNS areas - I think due to misunderstandings. My understanding is if we provide nameservers in /etc/resolv.conf these ...
0
votes
0answers
132 views

DNS/BIND configuration to resolve *.mail.*.outlook.com subdomains

I'm running BIND 9.3.3rc2 on a CentOS 5 system acting as an SMTP server. Until last week, I haven't had any problems with DNS or name resolution. The only problems I have resolving are with subdomains ...
-1
votes
1answer
66 views

Explain this dig command

Please explain what this command will do and whether it can be undone: dig +nocmd strongimages.tld mx +noall +answer
0
votes
1answer
282 views

How to understand TTL values in dig command output?

I am reading about how DNS works in general. From the wiki entry of TTL, I understand TTL (Time to Live) occur in the Domain Name System (DNS), where they are set by an authoritative name server for a ...
2
votes
1answer
185 views

PowerDNS not resolving host computer

I just finished setting up PowerDNS to avoid having to remember all my IP addresses and it seems to work pretty fine, most host names resolve just fine but not the one running PowerDNS (named ...
0
votes
0answers
47 views

DNS Issues On ISPconfig3

I use ISPconfig3 to host a couple of test sites. I recently had to change my public IP address, so I made changes to ISPconfig per recommendations from the community. However, I have not been able to ...
1
vote
0answers
163 views

openwrt: dns resolving error from wifi connected devices

I am not sure what have I messed up, but I cannot resolve other pc's in my local network from the wifi-connected devices (laptops and cell phones). I have a separate tower-pc that acts as a dns and ...
2
votes
2answers
232 views

OpenConnect not resolving hostnames

I'm running LMDE 17, and I've installed OpenConnect v6 and the repository version of network-manager-openconnect. Everything is peachy, except any address for the domain companyname.local doesn't ...
2
votes
3answers
437 views

How to make resolvconf append nameservers to the list instead of prepending them?

I'm trying to configure OpenVPN to update DNS-servers as described here. That seems to work, but resolvconf prepends nameservers (and also search domains) to the list of existing nameservers. How can ...
3
votes
1answer
405 views

Reverse DNS does not match SMTP Banner for multidomain hosting

We are planing for mail hosting, we are going to host multiple customer mail domain on single public IP. Now how i am going to set PTR record per customer? because i have single IP and it has to be ...
1
vote
1answer
57 views

DNS: Can I list 1 host in 2 separate domains?

I want to test something, but I lack sufficient number of machines so I was going to overlay a subnetwork listing the same hosts under different names. I can't think of any problem with this, but I ...
2
votes
1answer
161 views

Why are NS records needed in zone-files?

I installed BIND and I am aware that it is required to have at least two NS(Name Server) records in zone-file. This is true also for reverse-zone files. I understand that NS records point to ...
2
votes
1answer
2k views

wget is unable to resolve host address 80% of the time

I have a wget 'http://xxxx.net/somepage.asp?params@abc' in a bash file. When I run it, four out of five times it says: Resolving xxxx.net (xxxx.net)... failed: No address associated with hostname. ...
1
vote
1answer
39 views

How can I go about tracking down DNS queries?

I was looking at the dnsmasq logs on a router I run and noticed that there are requests to a particular url on a regular basis. This was happening while the only client connected to the network was my ...
1
vote
1answer
67 views

Resolving DNS through HTTP/HTTPS

Is there a way to resolve DNS through HTTP/HTTPS, the case was: my ISP redirecting every DNS request to their own DNS and poisoning the DNS records. all I need is a software that could resolve ...
1
vote
0answers
95 views

centos virtual machine not registering with intranet dns server

When I am creating a Ubuntu virtual machine on virtual box it automatically registered with DNS server in my intranet network, it has both intranet IP and domain name. When creating CentOS virtual ...
1
vote
1answer
84 views

Configuring Named DNS zones (Centos7), specifically CNAME

having trouble with some DNS configuration, I have managed to get part of the site working, however adding the prefix 'www', I'm finding a little tricky. Essentially, what I want is mysite.net -> ...
0
votes
0answers
104 views

Look up ip addresses of multiple hosts with same name

Is there any way to look up the ip addresses of all hosts with the same host name? The reason I want to do this is that at work I prefer to use an ethernet connection with my laptop whenever possible ...
0
votes
0answers
853 views

Kali dnsspoof not redirecting

I am trying to do some "dnsspoof" examples in kali/linux.I set up a windows machine(client:192.168.1.24) and a kali/linux (server:192.168.1.23) I changed preferred dns address to server address in ...
1
vote
0answers
81 views

Forwarding DNS traffic for specific domain

I'm trying to control which IP address I use for DNS based on the domain string. I'm on Fedora with firewalld and have tried the command: firewall-cmd --direct --add-rule ipv4 filter PREROUTING 0 -t ...
2
votes
1answer
107 views

How do I manage resolv.conf with Puppet and NetworkManager?

I have some hosts that have explicitly managed resolv.conf files. I have others that rely on NetworkManager, which does many things including writing the resolv.conf file. Is there a consistent way ...
2
votes
1answer
323 views

How to completely block a website like Facebook?

I'm trying to block Facebook access from my home system (Ubuntu). I could add facebook.com to /etc/hosts, but that would only prevent accessing facebook.com. There are many other ways I could use ...
0
votes
0answers
105 views

Spoof DNS on Access Point

Hello I'm gonna try to explain the situation as best as possible, so that maybe, someone can understand well the "problem" and help me. I have on a Debian 7 and I am using 2 interfaces: -eth0: ...
2
votes
1answer
80 views

Why is ping6 using IPv4 socket?

I enabled IPv6 in a CentOS 7 server and everything is working as expected, except for ping6: it is showing 3-5 delays between requests (but the RTT is fine): $ ping6 www.google.com <...5 ...
3
votes
2answers
86 views

Should /etc/hosts contain the domain name or the FQDN?

If I want to add an entry to /etc/hosts to resolve all traffic for example.com to 1.2.3.4, do I need to add 1.2.3.4 example.com 1.2.3.4 www.example.com 1.2.3.4 smtp.example.com 1.2.3.4 ...
0
votes
3answers
216 views

How to get primary DNS server ip of specific domain?

I thought it is possible via nslookup, but when I use nslookup stackoverflow.com it gives me different ip (198.252.206.16) than whois cf-dns02.stackoverflow.com (173.245.59.4)
6
votes
1answer
383 views

First sudo always slow

The first sudo I enter on my Ubuntu 14.04 server is always slow. The password prompt displays immediately, but after I press enter it takes about 10-15 seconds until the output is printed. All sudo ...
2
votes
1answer
86 views

Dig command: Is the output guaranteed to be sorted?

Let's say I'm trying to lookup the IPs mail.yahoo.com, gmail.com and mail.google.com If I execute: dig @8.8.8.8 +nocomments +noquestion \ +noauthority +noadditional +nostats +nocmd \ ...
1
vote
0answers
52 views

lynx domain shows 404 error when running from localhost

I have a strange problem and I don't know where I have to take a look to fix the issue. I am running the command lynx https://example.com/index.php from the server where the website is hosted on and ...
3
votes
1answer
175 views

Setting up domain with multiple servers

I am setting up a small web hosting service for my clients. I have my dedicated server which will be the shared server to host clients websites using WHM/cPanel. I have a separate VPS server that I ...