LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-17-2013, 01:06 PM   #1
techmom50
Member
 
Registered: Aug 2013
Posts: 36

Rep: Reputation: Disabled
nsupdate not working /rndc freeze-unfreeze not working


All,
I have followed the man page for nsupdate and the Bind 9 admin guide and i still cannot get these two to work properly
nsudate returns "Couldn't get address for 'ns.mydomain.com': not found

and rndc freeze mydomain.zone returns rndc: 'freeze' failed: not found
I have bind-tools 9.9.2.2 on Gentoo 12.1 with Bind 9.9.2
any assistance for troubleshooting would be appreciated.
 
Old 09-17-2013, 03:37 PM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,315

Rep: Reputation: 1329Reputation: 1329Reputation: 1329Reputation: 1329Reputation: 1329Reputation: 1329Reputation: 1329Reputation: 1329Reputation: 1329Reputation: 1329
Does this work?
Code:
dig NS mydomain.com @m.gtld-servers.net
The freeze failure will occur if the server is not master for the zone.
 
Old 09-17-2013, 04:37 PM   #3
techmom50
Member
 
Registered: Aug 2013
Posts: 36

Original Poster
Rep: Reputation: Disabled
Quote:
This zone is my master Funny when i look back in the named.log this is what it showed:
16-Sep-2013 09:05:36.405 general: info: received control channel command 'freeze'
16-Sep-2013 09:05:36.405 general: info: freezing all zones: success
16-Sep-2013 09:05:49.778 general: info: received control channel command 'freeze pacificcabinets.zone'
and this is the result of the above dig for our domain:
Code:
dig NS mydomain.com @m.gtld-servers.net
Quote:
; <<>> DiG 9.9.2-P2 <<>> ns.tux.pacificcabinets.com @m.gtld-servers.net
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 11599
;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 2, ADDITIONAL: 3
;; WARNING: recursion requested but not available

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;ns.tux.pacificcabinets.com. IN A

;; AUTHORITY SECTION:
pacificcabinets.com. 172800 IN NS ns1.bluehost.com.
pacificcabinets.com. 172800 IN NS ns2.bluehost.com.

;; ADDITIONAL SECTION:
ns1.bluehost.com. 172800 IN A 74.220.195.31
ns2.bluehost.com. 172800 IN A 69.89.16.4

;; Query time: 269 msec
;; SERVER: 192.55.83.30#53(192.55.83.30)
;; WHEN: Tue Sep 17 14:34:53 2013
;; MSG SIZE rcvd: 132
 
Old 09-17-2013, 06:30 PM   #4
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,315

Rep: Reputation: 1329Reputation: 1329Reputation: 1329Reputation: 1329Reputation: 1329Reputation: 1329Reputation: 1329Reputation: 1329Reputation: 1329Reputation: 1329
Looks like bluehost believes that they are the authoritative name server for the domain, and they are higher up the chain so they win. Unless ns1.bluehost.com is under your control, you can't make changes to the domain with nsupdate.

dig NS pacificcabinets.com @ns1.bluehost.com

; <<>> DiG 9.8.3-P1-RedHat-9.8.3-2.P1.fc15 <<>> NS pacificcabinets.com @ns1.bluehost.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 61631
;; flags: qr aa rd; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 2
;; WARNING: recursion requested but not available

;; QUESTION SECTION:
;pacificcabinets.com. IN NS

;; ANSWER SECTION:
pacificcabinets.com. 86400 IN NS ns1.bluehost.com.
pacificcabinets.com. 86400 IN NS ns2.bluehost.com.

;; ADDITIONAL SECTION:
ns2.bluehost.com. 14400 IN A 69.89.16.4
ns1.bluehost.com. 14400 IN A 74.220.195.31

;; Query time: 95 msec
;; SERVER: 74.220.195.31#53(74.220.195.31)
;; WHEN: Tue Sep 17 19:22:53 2013
;; MSG SIZE rcvd: 114
 
Old 09-17-2013, 06:42 PM   #5
techmom50
Member
 
Registered: Aug 2013
Posts: 36

Original Poster
Rep: Reputation: Disabled
So if I have to make any changes to my caching DNS server I have to:
1. stop named
2. delete the *.jnl files
3. re create the zones with additions or deletes
4. restart named
That seems ridiculous
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
rndc works, but rndc stats doesnt havok1977 Linux - Networking 2 04-08-2010 03:18 PM
[SOLVED] Bind and rndc problems!! How do I remove rndc? TylerD75 Linux - Server 4 01-06-2010 08:40 AM
rndc.key and rndc.conf cccc Debian 2 02-22-2009 08:07 PM
wireless working, but random freeze my computer amitm02 Linux - Wireless Networking 5 05-04-2006 05:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:13 PM.

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