register DNS entry with dhclient
From: Zhang Weiwu (weiwuzhang_at_hotmail.com)
Date: 02/25/04
- Previous message: Gleb Smirnoff: "Re: Bad loopback traffic not stopped by ipfw."
- Next in thread: Steven Stremciuc: "Re: register DNS entry with dhclient"
- Reply: Steven Stremciuc: "Re: register DNS entry with dhclient"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: freebsd-net@freebsd.org Date: Wed, 25 Feb 2004 22:28:34 +0800
I have a ADSL modem (domain name: modem.lan) also acting as DNS/dhcp server
(pretty smart toy). The Windows computers in the office, after boot up and
requested an ip addresss, also registere a DNS name in the modem
(netbiosname.lan), but FreeBSD and Linux computers don't register their DNS
name. So everyday we keep asking "Jerry what's your ip address I need to
scp a file ..." :(
I thought it won't be difficult to let FreeBSD register domain name. after
read the specific part of dhclient.conf(5), I created a /etc/dhclient.conf
file:
------
#my hostname is thinkpad.lan, 'lan' is our default search domain
send fqdn.fqdn "thinkpad.lan";
send fqdn.server-update on;
------
Still my thinkpad runing FreeBSD 5.2 don't seem to have registered:
zhangweiwu@thinkpad:~>nslookup windowsbox.lan
Server: modem.lan
Address: 10.0.0.138
Non-authoritative answer:
Name: windowsbox.lan
Address: 10.0.0.6
zhangweiwu@thinkpad:~>nslookup thinkpad.lan
Server: modem.lan
Address: 10.0.0.138
*** modem.lan can't find thinkpad: Non-existent host/domain
I am not sure of the mechnism in domain name registeration; I cannot debug
it. Is there any obvious wrong operation I am taking?
_________________________________________________________________
与联机的朋友进行交流,请使用 MSN Messenger: http://messenger.msn.com/cn
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
- Previous message: Gleb Smirnoff: "Re: Bad loopback traffic not stopped by ipfw."
- Next in thread: Steven Stremciuc: "Re: register DNS entry with dhclient"
- Reply: Steven Stremciuc: "Re: register DNS entry with dhclient"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|