Re: FreeBSD client + windows DHCP+DNS 動態註
※ 引述《hoho.bbs@bbs.nsysu.edu.tw》之銘言:
> 謝謝你的回應,在po之前己試過manpage上的參數了,
> 可能我有疏忽的地方,是自己沒注意到的,所以上來請教各位,
> 看是否有那位網友有類似需求和經驗,看可否不吝指教。
> 謝謝!!
我懶一點貼一次好了。
DYNAMIC DNS
The client now has some very limited support for doing DNS updates when
a lease is acquired. This is prototypical, and probably doesn't do
what you want. It also only works if you happen to have control over
your DNS server, which isn't very likely.
To make it work, you have to declare a key and zone as in the DHCP
server (see dhcpd.conf(5) for details). You also need to configure
the fqdn option on the client, as follows:
send fqdn.fqdn "grosse.fugue.com.";
send fqdn.encoded on;
send fqdn.server-update off;
The fqdn.fqdn option MUST be a fully-qualified domain name. You MUST
define a zone statement for the zone to be updated. The fqdn.encoded
option may need to be set to on or off, depending on the DHCP server
you are using.
The do-forward-updates statement
do-forward-updates [ flag ] ;
--
相信一種真誠存在於心與心之間...
--
※ Origin: SayYA 資訊站 <bbs.sayya.org>
◆ From: kendlee.sayya.org
討論串 (同標題文章)
FreeBSD 近期熱門文章
PTT數位生活區 即時熱門文章