why can't modify ttl when have Multiple records with same host
why can't modify ttl when have Multiple records with same host
example zone
www.ugametool.com. 300 A 58.51.95.124
www.ugametool.com. 300 A 58.215.133.101
www.ugametool.com. 300 A 61.164.46.179
www.ugametool.com. 300 A 116.55.246.202
www.ugametool.com. 300 A 117.34.23.102
www.ugametool.com. 300 A 123.129.249.138
www.ugametool.com. 300 A 123.150.49.104
www.ugametool.com. 300 A 183.60.42.99
www.ugametool.com. 300 A 202.106.46.1
www.ugametool.com. 300 A 202.116.160.90
www.ugametool.com. 300 A 221.11.62.37
I want to add other 58.215.133.100 with TTL 150 to www.ugametool.com ,But error,
cat knsupdate-add.txt
server 127.0.0.1
zone ugametool.com.
origin ugametool.com.
update add www.ugametool.com. 100 IN A 58.215.133.100
show
send
answer
[root@localhost ~]# knsupdate ./knsupdate-add.txt
Update query:
;; ->>HEADER<<- opcode: UPDATE; status: NOERROR; id: 11251
;; Flags: ; ZONE: 1; PREREQ: 0; UPDATE: 1; ADDITIONAL: 0
;; ZONE SECTION:
;; ugametool.com. IN SOA
;; UPDATE SECTION:
www.ugametool.com. 100 IN A 58.215.133.100
; Error: update failed: REFUSED
Answer:
;; ->>HEADER<<- opcode: UPDATE; status: REFUSED; id: 35055
;; Flags: qr; ZONE: 1; PREREQ: 0; UPDATE: 0; ADDITIONAL: 0
;; ZONE SECTION:
;; ugametool.com. IN SOA
But it works with bind( bind will replace all www.ugametool.com TTL to 100 .This is reasonable)