Answer the question
In order to leave comments, you need to log in
Nsupdate: is it possible to delete an entry in a dynamic zone by IP without knowing the domain name?
There is a script for updating ns records of several devices of the same type. When a vpn connection to the server is raised, the following is performed on the device:
function updatelan() {
echo "server $nsserver
zone $domain
update delete $HOSTNAME.$domain A
update add $HOSTNAME.$domain. 1200 A $lan_ip
show
send" | nsupdate -k $key -v
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question