DNS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsSystem AdministrationDNS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 25th, 2011, 10:40 AM
dnswired dnswired is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2011
Posts: 2 dnswired User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 30 m 5 sec
Reputation Power: 0
Using different NS records for a subdomain

Hey there

I'm working with a .ca domain, say "whatever.ca"
Is it possible to have "whatever.ca" point to:

Code:
ns1.testing.com
ns2.testing.com


While "sub.whatever.ca" point to a different set of NS records?

Code:
ns1.newtest.com
ns2.newtest.com


Also, how do I query a subdomain's NS using dig?
Would the following query work?

Code:
dig ns sub.whatever.ca


Thanks

Reply With Quote
  #2  
Old July 25th, 2011, 04:43 PM
CaptPikel CaptPikel is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2010
Location: Florida
Posts: 248 CaptPikel User rank is Lance Corporal (50 - 100 Reputation Level)CaptPikel User rank is Lance Corporal (50 - 100 Reputation Level)CaptPikel User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 3 Days 15 h 26 m 11 sec
Reputation Power: 3
Any domain can have any NS records essentially. Example.com could use testdomain.com's name servers as long as they are authoritative. If you are doing a sub domain, I would recommend making another zone file for it rather than use the $ORIGIN function in a zone. But that's entirely up to you.

In dig you can query for NS records by doing what you typed. If you want to query a particular server, you specify it using the @ symbol. Like so:

Code:
dig @b.iana-servers.net. example.com. NS


The order doesn't matter in most cases, dig is a pretty lenient tool.

Reply With Quote
  #3  
Old July 26th, 2011, 08:18 AM
dnswired dnswired is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2011
Posts: 2 dnswired User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 30 m 5 sec
Reputation Power: 0
Perfect...thanks very much for the quick response!

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationDNS > Using different NS records for a subdomain

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap