Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Mon Oct 15, 2007 2:04 pm 
Offline
Linode Staff
User avatar

Joined: Tue Apr 15, 2003 6:24 pm
Posts: 3090
Website: http://www.linode.com/
Location: Galloway, NJ
Linode DNS Manager now supports slave zones, which will AXFR the zone from a list of masters that you provide.

Testing welcome.

Enjoy!
-Chris


Top
   
 Post subject:
PostPosted: Mon Oct 15, 2007 5:48 pm 
Offline
Senior Member
User avatar

Joined: Fri Aug 15, 2003 2:15 pm
Posts: 111
Website: http://fubegra.net/
What address(es) are the slave servers using? I don't want to open AXFRs to the world...

_________________
Bus error (passengers dumped)


Top
   
 Post subject:
PostPosted: Mon Oct 15, 2007 6:22 pm 
Offline
Linode Staff
User avatar

Joined: Tue Apr 15, 2003 6:24 pm
Posts: 3090
Website: http://www.linode.com/
Location: Galloway, NJ
ns1 and ns2.linode.com, or 69.93.127.10 and 65.19.178.10

-Chris


Top
   
 Post subject:
PostPosted: Sun Dec 02, 2007 6:42 pm 
Offline
Senior Member

Joined: Sat Feb 10, 2007 7:49 pm
Posts: 96
Website: http://www.arbitraryconstant.com/
caker wrote:
ns1 and ns2.linode.com, or 69.93.127.10 and 65.19.178.10

-Chris
This information should definitely be presented in the UI.


Top
   
 Post subject:
PostPosted: Sat Dec 15, 2007 2:16 am 
Offline
Senior Member

Joined: Sat Feb 10, 2007 7:49 pm
Posts: 96
Website: http://www.arbitraryconstant.com/
I've had a chance to try this, it works fine. I would be good to have the UI emit a TSIG key, but if the DNS servers are on your networks that's probably not that big an issue for masters that are linodes.

This is a really excellent feature for anyone hosting their own DNS. It seems obvious, but it's surprising how rare it is for hosting providers to actually do it. They'd much rather give you a web interface to their DNS system. :)


Top
   
 Post subject:
PostPosted: Sat Dec 15, 2007 7:08 pm 
Offline
Senior Member

Joined: Sat Feb 10, 2007 7:49 pm
Posts: 96
Website: http://www.arbitraryconstant.com/
I've noticed sub-domains don't work, eg if you have qqq.com you can't also have spork.qqq.com as a separate zone. I assume this is to prevent a malicious user from performing DNS poisoning attacks where the attacker would set up eg mail.qqq.com or whatever as their own zone. Either that or my DNS-foo is rusty and I just failed to get it to work. :D

Workarounds include flattening your zones into a single zone, or making sure there's NS records for the child zone in the parent zone, since this will allow a recursive lookup to succeed either way.


Top
   
 Post subject:
PostPosted: Sun Feb 03, 2008 12:29 am 
Offline
Senior Newbie

Joined: Wed Jan 24, 2007 7:41 am
Posts: 8
Website: http://www.shikadi.net
Location: Brisbane, Australia
Hi all,

I'm trying to set up a slave zone but it doesn't seem to be working. I've added an entry in the DNS manager for my zone and after finding this topic I've allowed the two Linode nameservers AXFR access but they still sit there saying "n/a" in the "last generated" column which I assume means the zones aren't active (if I query the zone from ns1.linode.com I get a "refused" error.)

I originally tried importing the zone and the AXFR succeeded, but although this wasn't what I was after it seems to indicate my server is configured correctly.

Are there any problems with the service at the moment? I couldn't find any documentation about it on the wiki, and incidentally the link to the wiki at the bottom of most Linode pages is broken (it redirects to the Linode homepage.)

One other thing - I noticed that when I try to edit the slave zone the list of master servers is blank - I assumed this was a bug in the edit code, but I guess it could also mean the edit code is working and there's a bug in the 'add new zone' code, where it's not saving the server list. Not sure if it's related but I thought I'd mention it just in case.

Any ideas?


Top
   
 Post subject:
PostPosted: Sun Feb 03, 2008 2:12 am 
Offline
Senior Member

Joined: Tue Jan 22, 2008 2:10 am
Posts: 103
Malvineous wrote:
Hi all,

I'm trying to set up a slave zone but it doesn't seem to be working. I've added an entry in the DNS manager for my zone and after finding this topic I've allowed the two Linode nameservers AXFR access but they still sit there saying "n/a" in the "last generated" column which I assume means the zones aren't active (if I query the zone from ns1.linode.com I get a "refused" error.)

I originally tried importing the zone and the AXFR succeeded, but although this wasn't what I was after it seems to indicate my server is configured correctly.

Are there any problems with the service at the moment? I couldn't find any documentation about it on the wiki, and incidentally the link to the wiki at the bottom of most Linode pages is broken (it redirects to the Linode homepage.)

One other thing - I noticed that when I try to edit the slave zone the list of master servers is blank - I assumed this was a bug in the edit code, but I guess it could also mean the edit code is working and there's a bug in the 'add new zone' code, where it's not saving the server list. Not sure if it's related but I thought I'd mention it just in case.

Any ideas?


I seem to recall having to re-enter my masters in the edit field after creating it in order to get it working. Try re-entering them there?

After that, it does take a while (I think it's either every 15 mins or every half hour) for the server config to be updated. Note that 'last generated' will continue to show n/a, use host -t soa yourdomain ns1.linode.com to see if it's there and up to date.


Top
   
 Post subject:
PostPosted: Sun Feb 03, 2008 4:06 am 
Offline
Senior Newbie

Joined: Wed Jan 24, 2007 7:41 am
Posts: 8
Website: http://www.shikadi.net
Location: Brisbane, Australia
Ah yes you're right - when I edit the record it's blank, but if I re-enter the master server the next time I try to edit it the server's still listed. I guess there's a bug in the code when you try to create a new slave server.

I'll leave it 15 minutes and see if it works - thanks!

Edit: Yep, after you add the slave zone you need to edit it and re-enter the master IP, then it all works fine.


Top
   
 Post subject:
PostPosted: Tue Feb 05, 2008 10:40 am 
Offline
Linode Staff
User avatar

Joined: Tue Apr 15, 2003 6:24 pm
Posts: 3090
Website: http://www.linode.com/
Location: Galloway, NJ
Malvineous wrote:
Edit: Yep, after you add the slave zone you need to edit it and re-enter the master IP, then it all works fine.

This has been fixed.

-Chris


Top
   
 Post subject:
PostPosted: Wed Feb 06, 2008 6:12 pm 
Offline
Senior Newbie

Joined: Wed Jan 24, 2007 7:41 am
Posts: 8
Website: http://www.shikadi.net
Location: Brisbane, Australia
Excellent! Are you able to take a look at the wiki link too? It goes to http://wiki.linode.com which just redirects back to the homepage.


Top
   
 Post subject:
PostPosted: Wed Feb 27, 2008 3:03 am 
Offline
Junior Member

Joined: Sun Dec 02, 2007 1:17 am
Posts: 27
Website: http://www.nabber.org
Looks like once you set this up ns1 and ns2.linode.com will allow AXFR from anywhere for any domains it is backing up. Any chance that can be fixed? Example, you can AXFR my domain, nabber.org:

dig nabber.org AXFR @ns1.linode.com

When querying the primary server it does not do this:

dig nabber.org AXFR @ns.nabber.org


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group