近期重整DNS,动态更新记录,以做备查
nsupdate 增删改查
server 192.168.0.49 53
删除
删除NS记录
update delete huiselantian.com IN NS ns2.huiselantian.com.
update delete huiselantian.com IN NS ns3.huiselantian.com.
update delete huiselantian.com IN NS ns4.huiselantian.com.
update delete huiselantian.com IN NS ns5.huiselantian.com.
删除A记录
update delete ns2.huiselantian.com A
update delete ns3.huiselantian.com A
update delete ns4.huiselantian.com A
update delete ns5.huiselantian.com A
增加
增加NS记录
update add huiselantian.com 600 IN NS ns2.huiselantian.com.
update add huiselantian.com 600 IN NS ns3.huiselantian.com.
update add huiselantian.com 600 IN NS ns4.huiselantian.com.
增加A记录
update add ns3.huiselantian.com 600 IN A 192.168.0.236
update add ns4.