diff between "option domainname" and "ddns-domainname" ?
    Simon Hobson 
    dhcp at thehobsons.co.uk
       
    Mon Jun  5 17:40:29 UTC 2006
    
    
  
At 16:14 +0000 5/6/06, David W. Hankins wrote:
>  > why the host declarations is being updated in dns while using 
>ddns-domainname
>>  why not while using option domain-name
>This is the default config, assuming interim style ddns updates:
>
>char std_nsupdate [] = " 
>\n\
>option server.ddns-hostname = 
>\n\
>   pick (option fqdn.hostname, option host-name); 
>\n\
>option server.ddns-domainname = config-option domain-name; 
>\n\
>option server.ddns-ttl = encode-int(lease-time / 2, 32); 
>\n\
>option server.ddns-rev-domainname = \"in-addr.arpa.\";";
>
>'option' is derived from the cache of options supplied by the client.
>'config-option' is derived from the server's cache of configuration
>state (options it supplies to the client).
So the server ignores any domain name supplied by the client - which 
means it cannot so an update unless ddns-domainname is specified. It 
makes sense not to use any fqdn supplied by the client, since the 
client can request the server to let it do it's own A record update.
Simon
    
    
More information about the dhcp-users
mailing list