Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
08-21-2014, 08:46 PM
|
#1
|
LQ Newbie
Registered: Mar 2010
Location: Albuqueque, New Mexico
Distribution: Debian, Ubuntu, and I used Foresight and Fedora for a while.
Posts: 7
Rep:
|
First and second DNS servers priority change.
Hello LQ,
I have a local dns server in my 10.x.x.x lan which has a few local name records configured. I also use dhcp to give out my local dns server as the first dns entry. The second is 75.75.75.75(comcast's public dns).
My issue is that sometimes I can't resolve the local servers that are in my dns. It happens intermittently and I've used wireshark to confirm that the problem is that the dns requests sometimes go directly to 75.75.75.75. Why does the second entry get used intermittently?
A simple fix is to remove the 75.75.75.75 server from dhcp but then I'm prone to complete failure when the dns server is rebooting or down. I thought that the second entry would only be used if the first was unreachable for a sufficiently long period of time (say 2 seconds or so.)
Am I right or wrong here?
Interesting details for the folks to consider are thus:
1. The DNS server is Windows Server 2008R2. It has very few errors in its logs, however there are a few which state that the remote endpoint terminated the connection.
2. The resolution problem only has happened to our people using Mac OS X, Debian or Ubuntu. The windows users have not had an issue.
3. The wireshark captures were done on Ubuntu.
|
|
|
08-22-2014, 08:09 PM
|
#2
|
Member
Registered: Feb 2013
Location: San Jose, CA
Distribution: RHEL/CentOS/Fedora
Posts: 457
Rep:
|
How have you assigned the DNS servers? Do you use /etc/resolv.conf? Or are you using the DNS1/DNS2 stanzas in your ifconfig files?
|
|
|
08-25-2014, 10:19 PM
|
#3
|
LQ Newbie
Registered: Mar 2010
Location: Albuqueque, New Mexico
Distribution: Debian, Ubuntu, and I used Foresight and Fedora for a while.
Posts: 7
Original Poster
Rep:
|
The DNS servers are given out by DHCP so they are auto added to /etc/resolv.conf.
|
|
|
08-25-2014, 10:26 PM
|
#4
|
Member
Registered: Feb 2013
Location: San Jose, CA
Distribution: RHEL/CentOS/Fedora
Posts: 457
Rep:
|
You can disable peerdns by the key 'PEERDNS=no', and add 'DNS1=' and 'DNS2=' in the ifcfg-ethX files, if you want them statically assigned.
|
|
|
All times are GMT -5. The time now is 09:57 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|