/export1/nwreg2/usrbin/nrcmdList the zones available:
nrcmd> zone listList the records in the knon.dtv zone:
nrcmd> zone knon.dtv listrrList the records in a reverse lookup zone:
nrcmd> zone 10.in-addr.arpa listrrThis example adds myhost.knon.dtv / 10.2.3.4.
Add the hostname to the knon.dtv zone:
nrcmd> zone knon.dtv. addhost myhost 10.2.3.4Add the corresponding PTR record (done automatically with the GUI):
nrcmd> zone 10.in-addr.arpa. addrr 4.3.2 PTR myhost.knon.dtvTip: To remove resource records
nrcmd> zone 10.in-addr.arpa. removerr 4.3.2.10.in-addr.arpa
Save your records & reload the DNS to activate:
nrcmd> saveTo force the secondary DNS to update the zone with your new records, log onto it and execute:
nrcmd> dns reload
nrcmd> zone knon.dtv forceXfer secondaryDon't forget to refresh the secondary DNS caches to pick up the new records:
nrcmd> zone 10.in-addr.arpa forceXfer secondary
rndc reload lang.dtv
rndc reload 10.in-addr.arpa
No comments:
Post a Comment