Visit Our UNIX and Linux User Community


DHCP & DNS - Clients get IP but don't register in DNS

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat DHCP & DNS - Clients get IP but don't register in DNS
# 1  
Old 01-31-2012
DHCP & DNS - Clients get IP but don't register in DNS

I am trying to setup a CentOS 6.2 server that will be doing 3 things DHCP, DNS & Samba for a very small office (2 users). The idea being this will replace a very old Win2k server. The users are all windows based clients so only the server will be Linux based.

I've installed CentOS 6.2 with DHCP, BIND 9 and also Webmin to aid config. DHCP seems to be working no problem with the WinXP test machine however it doesn't seem to register itself with the DNS server.

NSLookup on the XP client pauses and then says
DNS request timeout
timeout was 2 seconds
*** Can't find server name for address 10.0.0.1: Timed out
*** Default servers are not available
Default Server: UnKnown
Address: 10.0.01

I have configured reverse DNS. I've heard it's something to do with getting the DNS server to trust the DHCP server but I'm not clear on how to go about that.
# 2  
Old 01-31-2012
If you only have 2 uses why not just safe your self some trouble with DNS and just use the /etc/hosts file?
# 3  
Old 01-31-2012
I didn't think of that, thanks for the suggestion. DNS can be a very detailed subject and finding exactly what you need can be very time consuming. At the moment I'm considering the Windows option but will keep that as a plan B.
# 4  
Old 01-31-2012
You could also use a network device to serve up your DNS as well. Anther thing are you using a domain or workgroup?
# 5  
Old 01-31-2012
The typical way (and likely THE way you'll have to do it unless totally bleeding edge)... is to configure the DCHP server to do TSIG updates to the DNS server. You have to configure both sides.... this uses an interim technique where a dhcp owernship hash is placed as a TXT record inside of DNS (just so you know who owns what). We run ISC BIND and DHCP here... it works and is a very reasonable solution.

For some hints (where some of the file format might be a tad old, but still)... here:

NTLUG | SSO / DhcpdConf browse

and

NTLUG | SSO / NamedConf browse

Previous Thread | Next Thread
Test Your Knowledge in Computers #621
Difficulty: Medium
There is no switch statement in Python.
True or False?

10 More Discussions You Might Find Interesting

1. IP Networking

DHCP and DNS on a home network

Let's say I have a home network containing a server that acts as the resident gateway and serves dhcp and dns requests. Laptop A is frequently connected and disconnected from the network as it is used as a travel computer. Is there a secure way to make sure that whenever laptop A is connected to... (3 Replies)
Discussion started by: Zygomorph
3 Replies

2. UNIX for Advanced & Expert Users

dnsmasq for dhcp to setup dns

Is dnsmasq important for dhcp to setup dns? (3 Replies)
Discussion started by: cokedude
3 Replies

3. UNIX for Dummies Questions & Answers

DNS & DHCP configuration

Hi to all. Sorry for my bad english. For pure self-educational, not professional, purposes, I am studying how to configure a server with several services operating on it. For my experiment I'm using VirtualBox 3.1.4 on a WinXP host with 3 FreeBSD guests; one acts as a DHCP + DNS server; the... (0 Replies)
Discussion started by: marboxer
0 Replies

4. IP Networking

configuring dns and dhcp

hello i am running my sipx server in 192.168.2.14 i would like to configure domain name and host name for this ..... can anyone tell me how to configure dns server and dhcp server so that any body both outside and inside the lan could access the sipx server by their host.domain.com name (1 Reply)
Discussion started by: sudeepiit
1 Replies

5. IP Networking

Multihomed DNS Clients?

I'm not sure it that's the right term for what I'm asking about, but it's the best I could come up with. Here is my situation... I'm setting up a network using OpenVPN. The clients I'm setting up will need to be able to access their own DNS servers (to resolve internal names at their location)... (4 Replies)
Discussion started by: deckard
4 Replies

6. Solaris

DHCP DNS Config

I'm running Solaris 9 and I need my box to request it's DNS servers off a DHCP server - can I do this? (1 Reply)
Discussion started by: Jdogg
1 Replies

7. IP Networking

DHCP and DNS

I asked a similar type question in the solaris forum but i think this relates closer to networking. I am trying to setup a small NIS environment that is contained within a large company network. The client machines are getting an IP from the companys' Windows DHCP server. The NIS server has a... (3 Replies)
Discussion started by: meyersp
3 Replies

8. UNIX for Dummies Questions & Answers

DHCP update DNS ?

Hi all, I'm in the dark about this. I have setup a dhcp server and a DNS server. I'm confuss as to how to have DNS auto update any new clinet that the dhcp has given an ip address for. Can this be done. I think that I'm missing something in the configuration of DHCP. I was told that when a DHCPD... (3 Replies)
Discussion started by: larry
3 Replies

9. IP Networking

Solaris DHCP and DNS

I have managed to setup my Solaris box to receive an IP number from a DHCP server. In addition, I can ping and telnet between my dhcp server and my solaris box using the IP number. However, I can't resolve addresses by name from my solaris box. In my nsswitch.conf file I have: hosts: dns ... (4 Replies)
Discussion started by: marist89
4 Replies

10. IP Networking

DHCP, DNS and LDAP

I have just started learning Unix on Solaris and have been asked to learn DHCP, DNS and LDAP very quick in order to implement them and maintain. Does anyone know how to do this or a decent book that will include all the above three which tells you how to install and maintain. All i have found so... (2 Replies)
Discussion started by: ollyparkhouse
2 Replies

Featured Tech Videos