LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-23-2014, 09:26 AM   #1
imsudarshan
LQ Newbie
 
Registered: Jun 2014
Posts: 1

Rep: Reputation: Disabled
nsupdate fails


I get refused error even if the update is run from the dnsserver(bind) as well. Please help

named.local file is as below.

//include "/etc/bind/zones.rfc1918";

key "heos.com." {
algorithm hmac-md5;
secret "Xx3B/YjpfCYBZgMAxVBoQZb4jLgxBSY2lz3TQ96V6NqykQO2Ni6zb63eCpu9939XiyfLSUmf42jvdY1pOdVRFw==";
};


zone "heos.com" {
type master;
file "/etc/bind/db.heos.com";
allow-update { localhost; key "heos.com."; };
allow-query { any; };
allow-transfer { any; };
// update-policy {
// grant * self * A TXT;
// };
};
zone "57.126.10.in-addr.arpa" {
type master;
file "/etc/bind/db.10";
allow-update { localhost; key "heos.com."; };
allow-query { any; };
allow-transfer { any; };
// update-policy {
// grant * self * A TXT;
// };
};
logging {
channel query.log {
file "/var/log/query.log";
severity debug 1;
};
category queries { query.log; };
};
[/QUOTE][/QUOTE]


nsupdate output with error:
[root@dydns cloud-user]# ./do-nsupdate nsupdate.txt
Creating key...
get_next_command()
evaluate_update()
update_addordelete()
get_next_command()
show_message()
Outgoing update query:
;; ->>HEADER<<- opcode: UPDATE, status: NOERROR, id: 0
;; flags:; ZONE: 0, PREREQ: 0, UPDATE: 0, ADDITIONAL: 0
;; UPDATE SECTION:
57.126.10.in-addr.arpa. 600 IN PTR dydns.heos.com.

get_next_command()
start_update()
recvsoa()
About to create rcvmsg
Destroying request [0x7f4b2a304eb0]
retrying soa request without TSIG
recvsoa()
About to create rcvmsg
show_message()
Reply from SOA query:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 52868
;; flags: qr aa ra; QUESTION: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;57.126.10.in-addr.arpa. IN SOA

;; ANSWER SECTION:
57.126.10.in-addr.arpa. 604800 IN SOA heos-dns.heos.com. root.heos.com. 1 604800 86400 2419200 604800

;; AUTHORITY SECTION:
57.126.10.in-addr.arpa. 604800 IN NS heos-dns.

Found zone name: 57.126.10.in-addr.arpa
The master is: heos-dns.heos.com
send_update()
Sending update to 10.126.58.21#53
show_message()
Outgoing update query:
;; ->>HEADER<<- opcode: UPDATE, status: NOERROR, id: 63029
;; flags:; ZONE: 1, PREREQ: 0, UPDATE: 1, ADDITIONAL: 1
;; UPDATE SECTION:
57.126.10.in-addr.arpa. 600 IN PTR dydns.heos.com.

;; TSIG PSEUDOSECTION:
heos-dns.heos.com. 0 ANY TSIG hmac-md5.sig-alg.reg.int. 1403532968 300 16 otY8u8sj0Cp8Lk5wjCsYlw== 63029 NOERROR 0

Out of recvsoa
update_completed()
; TSIG error with server: expected a TSIG or SIG(0)
show_message()

Reply from update query:
;; ->>HEADER<<- opcode: UPDATE, status: REFUSED, id: 63029
;; flags: qr ra; ZONE: 1, PREREQ: 0, UPDATE: 0, ADDITIONAL: 0
;; ZONE SECTION:
;57.126.10.in-addr.arpa. IN SOA

done_update()
reset_system()
user_interaction()
get_next_command()
cleanup()
detach tsigkey x0x7f4b2a30c0b8
Shutting down task manager
shutdown_program()
Shutting down request manager
Destroy DST lib
Destroying request manager
Freeing the dispatchers
Shutting down dispatch manager
Destroying event
Shutting down socket manager
Shutting down timer manager
Destroying hash context
Destroying name state
Removing log context
Destroying memory context
[root@dydns cloud-user]#
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] nsupdate not working (SERVFAIL) funny_ha_ha Linux - Server 3 02-27-2018 01:18 AM
nsupdate error + dns_request_createvia: ran out of space haariseshu Linux - Server 4 11-19-2009 04:43 AM
bind / nsupdate / REFUSED! midiguy732 Linux - Networking 1 04-09-2009 04:09 AM
nsupdate fails with "could not read rdata" james shields Linux - Server 3 01-10-2008 02:30 AM
DDNS and nsupdate update failed SERVFAIL adi1891 Linux - Networking 1 03-08-2006 03:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration