7
votes
2answers
88 views

DNS lookups sometimes take 5 seconds

I have a VM running Debian Wheezy on which some hostname lookups take several seconds to complete, even though the resolver replies immediately. Strangely, lookups with getaddrinfo() are affected, ...
0
votes
0answers
35 views

DNS server design

Currently my company is deploying SIP phones in different locations from different boroughs. I've been asked to create static DNS records for each of the phones with the following format: ...
1
vote
1answer
72 views

Getting DNS queries to 73.207.210.75.in-addr.arpa

My Linux system is doing a lot of DNS queries to 73.207.210.75.in-addr.arpa but I don't know of any reason it should be doing this. What is at in-addr.arpa? Any reason why these queries are ...
0
votes
1answer
61 views

how to avoid NSCD for DNS

I am using NSCD service for DNS now. But sometimes I see NSCD dying itself and DNS resolving doesn't happen properly. please tell me how can we avoid NSCD for DNS . if we bypass the NSCD what is the ...
0
votes
2answers
105 views

UFW is blocking DNS

I am configuring the security in my server. For easier the manage at the firewall, I installed the UFW. I did some settings in the UFW and I allowed some ports. Therefor when I enabled it the DNS ...
0
votes
1answer
98 views

How can I use CNAME in Bind properly?

I'm new to Bind/DNS and want to point/map SMTP, webmail and IMAP to my domain but a check in nslookup is failing. How can I nslookup SMTP this way? The error I get is: smtp.stylez24.com: NXDOMAIN ...
3
votes
3answers
81 views

Linux, resolv.conf — adding MSDNS and Bind DNS nameservers where MSDNS isn't recursive?

How to resolve from a non-recursive MSDNS and if not found resolve from googleDNS (recursive)? ## resolv.conf ## nameserver 192.168.10.1 # msdns, non-recursive nameserevr 8.8.8.8 # ...
0
votes
0answers
140 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 ...
2
votes
1answer
68 views

zone delegation in Bind

I have a lot of zones defined in my DNS server. I need to delegate one particular zone to a foreign DNS server and I don't have access to my domain-registrar control panel, currently. Is there a way ...
0
votes
1answer
70 views

DNS not resolving using IP rule for dialup modem

I am running Ubuntu 12.04. I have a HSDPA USB Modem, with which I can successfully dial in. It works fine as well when I set the default gateway (remote IP address) in the main routing table. But I ...
4
votes
2answers
517 views

BIND9 as a DNS server refuses requests

I am trying to set up a DNS server on Amazon Linux using BIND9. It has to act as a master nameserver for a lot of domains. I have imported all of the DNS zone files using NamedManager (a web ...
0
votes
3answers
98 views

Why do two Ubuntu systems in the same network behave differently in DNS resolution?

I have two systems, both running Ubuntu 12.04, which are within the same network (connected by hubs without routing logic). Both systems are configured quite similar, but not identical. In particular, ...
3
votes
4answers
1k views

How can I improve nscd's cache hit rate?

My Goal: Let nscd maintain a fairly large DNS cache in excess memory since I have it available. Description: I have a webserver that has a broadly dispersed but high-repeat user base. It has plenty ...
1
vote
1answer
267 views

How to allow recursion for only 1 zone?

Is it possible to allow recursion for a single zone in BIND 9.6?
3
votes
4answers
5k 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 ...
2
votes
1answer
335 views

Process calling getaddrinfo() at boot gets permanently stuck with bad /etc/resolv.conf?

I'm running pianod, a Pandora client/server, on a Raspberry Pi with Arch Linux ARM. I have pianod set up to run as a service at boot. It starts up before the network stack, so getaddrinfo() fails. ...
0
votes
1answer
126 views

DNS zone fallback file

I have the following DNS zone(bind): zone "." IN { type master; file "named.root"; }; If this zone directive cannot resolve the address, how can I "fallback" to another file for the same ...
2
votes
1answer
2k views

Configuring DNS resolver failover timeout

We have all of our systems set up to do internal DNS to a local name server and a secondary name server so that in the event the local DNS server is down they should go over the WAN to the secondary ...
1
vote
1answer
473 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 ...
0
votes
2answers
2k views

How to test DNS speed?

I am using google open DNS now. I want to test it's speed. How can I? I can ping and see that it gets faster. I need some faster way.
0
votes
1answer
281 views

Opendns setup failed. How to fix it?

I have problems trying to configure OpenDNS. I have contacted OpenDNS support but they did not answer. I cannot access websites like Twitter and Facebook. I tried welcome.opendns.com (did not ...
11
votes
1answer
3k views

How can I override the /etc/hosts file at user level? [duplicate]

Possible Duplicate: Can I create a user-specific hosts file to complement /etc/hosts? In short: I would like to know if it is possible to get a ~/hosts file that could override the ...
0
votes
2answers
609 views

Best way to find out what Linux Version is used on a Webserver

Is this feasible? Can I find out which distro is used to host specific webpages? Whois doesn't have info for this.
5
votes
2answers
2k views

What is resolv.conf and why VPN client's hack it?

As stated in a previous question I want to connect to 2 VPN servers at the same time and for each connection specify the IPs of computers I want to reach with it. One of this VPN connection is done ...
1
vote
1answer
584 views

Howto use Google DNS with ppp

I have a mobile broadband device that I use to connect to the internet. I wish to use the google dns service, their nameservers being 8.8.8.8 and 8.8.8.4. I add them to /etc/resolv.conf but when I ...
3
votes
1answer
167 views

How to skip DNS checkup while I'm disconnected from Internet

I use RedHat machine. /etc/resolve.conf was set to nameserver 8.8.8.8 and it works well. I'm wondering how to connect my machine if it's disconnected from internet? It seems that if DNS of 8.8.8.8 is ...
7
votes
3answers
11k views

Reverse DNS lookups slowing down network operations on LAN

Environment My LAN setup is quite basic: A router connected to the ISP's modem and the internet My development pc directly connected to the router The router provides DHCP but does not run its ...
2
votes
1answer
8k views

Clearing DNS Cache in Linux

I work on Linux on my laptop, I could not access a particular website using the URL, so I used sudo /etc/init.d/nscd restart in order to clear the DNS cache, but the URL is still throws 'Server Not ...
1
vote
1answer
265 views

resolv.conf + PXE server + kickstart files

I use PXE server in order to download kickstart and to install Linux. After installation I saw that /etc/resolv.conf was created with the IP of the PXE server. Why there is PXE server IP address in ...
6
votes
1answer
15k views

How to read the local DNS cache contents?

I know that on Windows I can issue ipconfig /displaydns and I see the local DNS's cache content. How can I list the DNS's cache content in Linux? I would like to get as much as cross-distro solution ...
3
votes
5answers
3k views

How to overcome libc resolver limitation of maximum 3 nameservers?

Suppose I work in environment with number of domain changes and slow propagation. I want to test domain configuration immediately after setting change but the propagation is slow. So I want to add ...
2
votes
1answer
1k views

How to configure a catch-all CNAME on Ubuntu Linux using BIND 9

I'm trying to set up APE server on my local system. I'm using Ubuntu and BIND and I need to set up a catch-all CNAME record. What would be required for this?
60
votes
12answers
76k views

How can I resolve a hostname to an IP address in a Bash script?

What's the most concise way to resolve a hostname to an IP address in a Bash script? I'm using Arch Linux.
1
vote
2answers
474 views

DNSSEC in the root zone? How to use it?

I'm using Fedora for desktop use and I: yum -y install caching-nameserver service named restart chkconfig --level 5 named on on it, and set the nameserver to 127.0.0.1. If I: dig google.com | grep ...
2
votes
1answer
1k views

Attempting to update Amazon Route53 using a script, but domain is not being updated

I have several Amazon EC2 instances, running Ubuntu 10.04, with which I'd like to use Amazon's Route53. I setup a script as described in Shlomo Swidler's article, but I'm still missing something. ...
3
votes
5answers
2k views

Why do all my DNS queries resolve to 192.168.1.251?

All my queries on one machine on my network have suddenly started to resolve to 192.168.1.251. This machine was used as the DNS server by other machines, so I noticed it as soon as it started ...
7
votes
5answers
13k views

DNS queries not using nscd for caching

I'm trying to use nscd (Nameservices Cache Daemon) to cache DNS locally so I can stop using Bind to do it. I've gotten it started and ntpd seems to attempt to use it. But everything else for hosts ...