windows does not resolve linux hostname
I have 3 linux boxes on a mostly windows machines lan.
We run dhcp. I have not got access to the dhcp machine.
From my linux boxes i can resolve all the windows machines by name.
However if i try to ping the linux boxes by name it does not resolve and
comes back with unknown host.
We get our dns info from the dhcp server.
How do I configure my linux boxes to tell the dhcp server to update the dns
server with their names?
are your using samba?
I do not want to share drives, so I do not think i need it.Could be wrong though.
If your trying a line such as:
then you'll need a DNS A record in the domain.com zone file for this host, otherwise it can't resolve the host name.
Windows uses an lmhosts file or a wins server or a broadcast to resolve a name to an IP address. To do this with Linux you need to install samba and configure this to act in the same manner.
I am going to install and configure Samba on one of the boxes.
Will update later.
and restart the network service, let the dhcp server take a while to update dns record.
Tried it, but it does not seem to work.
Also tried putting the following in /etc/dhclient-eth0.conf
send fqdn.fqdn "nazgul.ds1.ad.absa.co.za"
send fqdn.encoded off /on
send fqdn.server-update on / off
According to the man page for dhclient.conf this should let the dhcp know to update the dns. The interface comes up but the problem still persists.
in /var/log/messages I see :
nazgul dhclient: if IN A nazgul.ds1.ad.absa.co.za rrset doesn't exist add 3600 IN A nazgul.ds1.ad.absa.co.za 10.4.38.95 add 3600 IN TXT nazgul.ds1.ad.absa.co.za "00b58c3399805572d04df4e41b326777bc": ran out of space
So it looks like its trying to update but something is going wrong.
|All times are GMT -5. The time now is 01:39 AM.|