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

learn more… | top users | synonyms

3
votes
3answers
3k views

Configure multiple interfaces with different hostnames using DHCP and DNS

I have a machine running Ubuntu 12.04 Server with two interfaces connected (eth0, eth1) to the network. Our network is set up so that a FreeBSD based DHCP server hands out leases and registers the ...
0
votes
1answer
880 views

Slow DNS resolve from curl/lynx etc

I have a strange issue with DNS resolving: Root of the problem is that I get curl errors: "Error executing HTTP request: name lookup timed out". Tried to ping some sites, all resolved fine (and fast). ...
1
vote
1answer
30 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
17 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 ...
0
votes
0answers
21 views

Do I need to use dns bind server for name servers? [closed]

I am using server IP to redirect domains. What is the easiest way to make nameserver instead of IP ? Is it possible only to write in hosts file. for example: xxx.xxx.xxx.xxx ns.domain.com Thanks!
4
votes
1answer
5k views

Using DNSMasq for Local Hostname Resolution

I'm working on setting up a home intranet for me and my roommates. My idea is that we'll be able to store things like past utility bills in a place that's more accessible than a drawer in the kitchen ...
1
vote
2answers
578 views

Command/scripts to check the Reverse DNS Lookup time

I am working on a project in which one master communicates with numbers of slaves. For that it has to make connection with hosts in network. But sometimes it hangs. I think that the reason behind is ...
1
vote
2answers
636 views

ping: unknown host with iptables enabled

I can't ping www.google.com. However I can ping the IP address: ping 74.125.237.142 At first, I thought it is a problem with my DNS settings. But I checked my resolv.conf, hosts, and hostname ...
0
votes
0answers
27 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
17 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 ...
2
votes
2answers
1k views

Ping IP works, nslookup fails. New Kernel

I am compiling my own 3.14 kernel. I fear I may have left out some important networking feature to get DNS working. I can't resolve domain names. I can ping my DNS server. I can resolve using that ...
0
votes
1answer
20 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
11 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 ...
0
votes
1answer
4k views

CentOS 6 not regestering new hostname on Windows Server 2003

I rebuilt a Windows 7 Workstation with CentOS 6.5. The Windows 7 had a host name aaa attached to domain ddd.local. The new CentOS hostname is bbb. When I try to ping it: $ ping bbb ping: unknown ...
1
vote
0answers
18 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
5 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
59 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 ...
1
vote
3answers
73 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 ...
0
votes
1answer
38 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. ...
0
votes
1answer
56 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 ...
1
vote
2answers
1k views

Split DNS (bind9), match-clients any doesn't work?

I've been fighting with this for the last few days. A few of my entries have external and internal IP's. My internal network is 10.0.0.0/8. When I nslookup pc1.clase.net internally it responds with ...
1
vote
2answers
28 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 ...
2
votes
1answer
166 views

nameservers erased after systemctl restart network.service

I'm working on centos 7, and having problematic behaviour when setting network interface from dhcp to static ip configuration. I edit /etc/resolv.conf, and run systemctl restart network.service The ...
2
votes
1answer
43 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 ...
1
vote
1answer
45 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 ...
3
votes
2answers
254 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
47 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 ...
4
votes
5answers
10k views

How to set DNS resolver in Fedora using network-manager?

I want to try out Google public DNS. For this I need to change the nameserver address. I know it's in the file /etc/resolv.conf, but whenever I start network-manager, it overwrites the values in that ...
0
votes
0answers
53 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 ...
2
votes
1answer
48 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 \ ...
7
votes
2answers
3k views

dig vs nslookup

Why sometimes those two commands printing different results? ~$ dig facebook.com ; <<>> DiG 9.9.2-P1 <<>> facebook.com ;; global options: +cmd ;; Got answer: ;; ...
-1
votes
1answer
45 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
1
vote
1answer
2k views

Unable to start the 'named' service [closed]

Whenever I try to run the named service, I get the following even though my permissions and folder ownership are all fine: [root@f13 ~]# service named start Starting named: Error in named ...
0
votes
1answer
50 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 ...
31
votes
9answers
75k views

How do I set my DNS on Ubuntu 14.04?

Most of the info I see online says to edit /etc/resolv.conf, but any changes I make just get overridden. $ cat /etc/resolv.conf # Dynamic resolv.conf(5) file for glibc resolver(3) generated by ...
2
votes
1answer
50 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
17 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
52 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 ...
1
vote
2answers
3k views

How to test DNS speed?

I am using google open DNS. How can I measure the speed of a DNS server?
4
votes
2answers
1k views

Creating a new TLD for private network

I want to setup a new TLD (foo.) for my the private network so that I can host some child domains which will be accessible from within the network. For this purpose I have setup a DNS server ...
2
votes
1answer
75 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 ...
3
votes
1answer
135 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
51 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 ...
1
vote
1answer
430 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
30 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 ...
6
votes
4answers
2k views

How do I generate SSHFP records?

I need to setup SSHFP records in the DNS for my host. I have done some searching but I haven't found any good example. What are SSHFP records? What does SSHFP records look like? How do I create ...
1
vote
1answer
29 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
64 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
36 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
63 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 ...