看板FreeBSD
标 题Re: FreeBSD client + windows DHCP+DNS 动态注ꔊ发信站: SayYA 资讯站 (Wed Apr 28 17:35:08 2004)
转信站ptt!ctu-reader!news.nctu!SayYa
※ 引述《[email protected]》之铭言:
> 谢谢你的回应,在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