DDNS updates for zone having multiple primary servers

Simon Hobson dhcp1 at thehobsons.co.uk
Fri Apr 2 18:34:34 UTC 2021


kraishak <kraishak.edu at gmail.com> wrote:

> Regarding this, I am sorry I didn't complete my question, Actually my doubt
> was can we configure like below
> subnet 192.168.0.0 netmask 255.255.255.0 {
>        pool {
>                range 192.168.0.50 192.168.0.150;
> 
>        }
>               ddns-domainname "example.com";
>                option domain-name "test.com";
>                option routers 192.168.0.1;
>                option subnet-mask 255.255.255.0;
>        }
> 
>        zone example.com.
>        {
>            primary 192.168.0.45;
>            secondary 192.168.0.47,192.168.0.48;
>        }
> i.e  option domain-name is different and ddns-domainname is totally
> different not like domain and sub-domain concept

Yes, that is valid as far as DHCP is concerned.
It would just be an odd setup since the client would believe that it was somehost at test.com while the DNS would be updated with somedomain.example.com.


Simon



More information about the dhcp-users mailing list