LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-14-2010, 01:57 PM   #1
royce2020
Member
 
Registered: Jan 2003
Posts: 92

Rep: Reputation: 16
Baffling DNS from a DHCP server problem. Appears to be ignoring dhcp.conf


I have a linux mint xfce 8 (compatable with Ubuntu Intrepid) box that serves DHCP and forwards its internet connection through firestarter.
The actual IP is served corectly, the problem I'm having is with the DNS that it gives out that is then stored in the clients resolv.conf

The servers dhcp.conf has the line :
option domain-name-servers 203.52.100.13;

However, the clients recive the number:
203.52.122.13

I have changed the dhcp.conf to serve the number 203.52.112.13 (which would also work), but the clients are still reciving 203.52.122.13

Thinking that I might have made a mistake while writing it by hand, I got firestarter to write me a new dhcp.conf which looks almost the same as mine, but the clients continue to recive the wrong number.

This behaviour continues after restarting the demon and even rebooting.
I have googled looking for other sources of configuration for the servers DHCP, but they all refer to dhcp.conf

Can any one make a sugestion as to how to find the source of this problem?
 
Old 02-16-2010, 12:40 PM   #2
jvaldivia
Member
 
Registered: Sep 2007
Distribution: Debian Lenny
Posts: 61
Blog Entries: 2

Rep: Reputation: 19
You have to review your daemon logs very carefuly, I have a post entry on how to do that.

http://soad1982.blogspot.com/2010/02...t-daemons.html

What you should at least make sure for instance is the DHCPREQUEST and DHCPACK via you logs, maybe you have a host based definition, if you could include your settings will be useful, I wrote how to create a fast DHCP maybe you just need a fresh start. DHCP Howto

For example an output delivering DHCP information should look like:

Feb 15 10:03:22 debian dhcpd: DHCPREQUEST for 172.16.32.12 from 00:21:70:9b:da:fa via eth3
Feb 15 10:03:22 debian dhcpd: DHCPACK on 172.16.32.12 to 00:21:70:9b:da:fa via eth3

Just match the MAC address and make sure you're the one giving the IP address.
 
0 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem on acquiring IP addr. on client from dhcp server through dhcp relay server haariseshu Linux - Server 5 08-10-2009 01:20 AM
dhcp server - can't figure out dhclient.conf for eth1 JoeBleaux Debian 1 04-06-2009 05:13 PM
DHCP/DNS Server Setup epicmove Linux - Networking 2 09-23-2007 03:45 PM
DHCP and DNS server newbie_adm Linux - Newbie 2 06-14-2006 07:12 AM
DNS from DHCP server not working mikegorb Linux - Networking 1 10-25-2004 03:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration