I was going to add a new DNS entry on my server, but I had a typo and accidentally added the IP (10.0.55.41) to an existing entry.
[root@DNS1 ~]# nsupdate
> update add DB2.domain.com. 3600 A 10.0.55.41
> send
Now when I use nslookup I see two IPs
[root@DNS1 ~]# nslookup DB2
Server: 10.0.2.209
Address: 10.220.2.209#53
Name: DB2.domain.com
Address: 10.0.2.210
Name: DB2.domain.com
Address: 10.0.55.41
I am trying to remove the extra IP (10.0.55.41) but I get update failed: REFUSED error.
[root@DNS1 ~]# nsupdate
> update delete DB2.doamin.com
> send
update failed: REFUSED
How can I remove the extra IP (10.0.55.41)?
I would try to remove it manually from the zonefile. (Don't forget to increase the serial) and reload it: rndc reload domain.tld
Edit: I forgot: Because it is a dynamic zone you have to freeze it before manually changing with rndc freeze domain.tld
and unfreeze it afterwards with rndc thaw domain.tld
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments