Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
09-17-2013, 01:06 PM
|
#1
|
Member
Registered: Aug 2013
Posts: 36
Rep: 
|
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.
|
|
|
09-17-2013, 03:37 PM
|
#2
|
Senior Member
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,315
|
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.
|
|
|
09-17-2013, 04:37 PM
|
#3
|
Member
Registered: Aug 2013
Posts: 36
Original Poster
Rep: 
|
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
|
|
|
|
09-17-2013, 06:30 PM
|
#4
|
Senior Member
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,315
|
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
|
|
|
09-17-2013, 06:42 PM
|
#5
|
Member
Registered: Aug 2013
Posts: 36
Original Poster
Rep: 
|
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
|
|
|
All times are GMT -5. The time now is 06:13 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|