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.
|
|
05-17-2007, 08:10 PM
|
#1
|
LQ Newbie
Registered: Jan 2006
Location: Winooski, VT
Distribution: RedHat
Posts: 3
Rep:
|
DHCP handing out the wrong dns servers
I am using CentOS 4.4 and a setup I've been using broke this week.
In dhcpd.conf I have a global option:
option domain-name-servers hostname;
I also use this box as a firewall/router and now all of my LAN hosts
are getting their DNS set to the public IP from the WAN interface.
I can't tell if this is a named problem or a dhcpd problem.
For example "hostname" on this particular server resolves to 10.0.0.1
hostname.example.com resolves to 70.x.x.x. My windows hosts get the 70.x.x.x
number.
Thanks in advance
|
|
|
05-17-2007, 08:16 PM
|
#2
|
Senior Member
Registered: May 2006
Distribution: BeOS, BSD, Caldera, CTOS, Debian, LFS, Mac, Mandrake, Red Hat, Slackware, Solaris, SuSE
Posts: 1,761
Rep:
|
Quote:
option domain-name-servers hostname;
|
Have you tried just using an IP address?
Code:
option domain-name-servers 10.0.0.1;
|
|
|
05-17-2007, 08:25 PM
|
#3
|
LQ Newbie
Registered: Jan 2006
Location: Winooski, VT
Distribution: RedHat
Posts: 3
Original Poster
Rep:
|
yes, that works. I am curious why the other way does not though.
|
|
|
All times are GMT -5. The time now is 11:43 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
|
|