SunQuest
           DNS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
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:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old February 9th, 2004, 04:20 AM
sk8er sk8er is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 8 sk8er User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Urgent, Zone File

Hi Guys,
I want one of the sub-domains (sub domain login shown below) of a zone to get its address from a another name server while I want the all the other sub-domains to go to a specific IP.

Following is the zone file:




$TTL 86400
@ IN SOA oscar.aol.com. root.oscar.aol.com. (
1997022700 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
NS ns ; Inet Address of name server
;
login want to get right address by querying name server
* A some static address

hey
Also how should I configure other relevant BIND 9.2.0 Here is a simple question, whenever someone types login.oscar.aol.com I want them to get address by querying another nameserver

Reply With Quote
  #2  
Old February 9th, 2004, 05:31 AM
sk8er sk8er is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 8 sk8er User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Hi,
I also wanted to mention that I added
loing IN NS name server address

but this one gives back a canonical name. What I want it to do is
give me back the IP address

Reply With Quote
  #3  
Old February 9th, 2004, 07:23 AM
SilentRage's Avatar
SilentRage SilentRage is offline
DNS/BIND Guru
Dev Shed Specialist (4000 - 4499 posts)
 
Join Date: Jun 2003
Location: OH, USA
Posts: 4,193 SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 5 Days 14 h 27 m 56 sec
Reputation Power: 77
__________________
Send me a private message if you would like me to setup your DNS for you for a price of your choosing. This is the preferred method if your DNS needs to be fixed/setup fast and you don't have the time to bounce messages back and forth on a forum. Also, check out these links:

Whois Direct | DNS Crawler | NS Trace | Compare Free DNS Hosts

Reply With Quote
  #4  
Old February 9th, 2004, 10:51 AM
sk8er sk8er is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 8 sk8er User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Yeah but as you would know I posted it agian because 127.0.0.2 is a constant address. I want it that when people ask for login.oscar.aol.com it should get the current IP (which constantly changes) and not a static one which according to your answer what they would get.

Basically I am asking for a solution that people would get the new IP automatically without updating zone files or setting them up for dynamic update. I currently have this zone setup for forwarding.

Reply With Quote
  #5  
Old February 9th, 2004, 06:30 PM
SilentRage's Avatar
SilentRage SilentRage is offline
DNS/BIND Guru
Dev Shed Specialist (4000 - 4499 posts)
 
Join Date: Jun 2003
Location: OH, USA
Posts: 4,193 SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 5 Days 14 h 27 m 56 sec
Reputation Power: 77
Then you should've told me this in the other thread. Do you already have a dynamic domain setup? If not, you need to sign up with a dynamic IP service. Either you switch your domain hosting to them, or simply use this service as a DNS redirection target using CNAME. Reguardless of what you choose, you'll need to run a program which keeps the server up-to-date with your current IP address.

If you have a windows machine which can run this client, I strongly suggest using www.dollardns.net as your dynamic solution IF you are willing to switch domain hosting or delegate a subzone to the DollarDNS server. DollarDNS does not provide subdomains. If you just want to use the CNAME technique then I recommend setting up a subdomain with no-ip.com.

Here's a summary of your best choices.

Delegation:

1: Create account on www.dollardns.net
2: Create "login.oscar.aol.com" dynamic zone
3: Download ipupdate client and config and run on a windows machine
4: In the "oscar.aol.com" zone add the following record:

login NS free1.dollardns.net.

CNAME redirection

1: Create account at www.no-ip.com
2: Create subdomain (example: aollogin.sytes.net)
3: Download ipupdate client and run it
4: In the "oscar.aol.com" zone add the following record:

login CNAME aollogin.sytes.net.

Last edited by SilentRage : June 28th, 2004 at 08:06 AM.

Reply With Quote
  #6  
Old February 9th, 2004, 10:20 PM
sk8er sk8er is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 8 sk8er User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
dude
i know what you are saying. I dont want a free one, I already have access to another nameserver (this is the one I have to use as this is for a class).

WHen I put in the lines
login IN NS *nameserver address*

and then restart named and everything,
it comes back with the canonical name

HOWEVER, when I dig that nameserver it comes back with the a bunch of answers including the CNAME i got above and also IP addresseS.

So the question is how do I setup my zone file so that it gets the same answer as performing the dig on THAT nameserver.

Reply With Quote
  #7  
Old February 10th, 2004, 02:27 AM
SilentRage's Avatar
SilentRage SilentRage is offline
DNS/BIND Guru
Dev Shed Specialist (4000 - 4499 posts)
 
Join Date: Jun 2003
Location: OH, USA
Posts: 4,193 SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 5 Days 14 h 27 m 56 sec
Reputation Power: 77
I finally looked at your config:

http://www.dollardns.net/cgi-bin/dn...&lr=4&submit=DS

What I see is 1 CNAME record. Then the server looked up the CNAME target for me and also returned the IP addresses. The master file is configured with only the CNAME record. The IP's were pulled from a different zone.

"login IN NS *nameserver address*"
"THAT nameserver."

which name server. if you explained yourself better you wouldn't be getting frustrated by my incorrect guessing as to what you mean.

Last edited by SilentRage : June 28th, 2004 at 08:07 AM.

Reply With Quote
  #8  
Old February 10th, 2004, 11:13 PM
sk8er sk8er is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 8 sk8er User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Ok,
SO let me get this straight. If I my file looks like theone in the following, then
Please read this carefully if BOTH are true


1. Clients asking for login.oscar.aol.com will get the current IP address

2. CLients asking for anything except login.oscar.aol.com (the wildcard) will be directed to the static ip

THOSE WERE MY GOALS RIGHT FROM THE BEGINNING

$TTL 86400
@ IN SOA oscar.aol.com. root.oscar.aol.com. (
1997022700 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
NS ns ; Inet Address of name server
;
login IN NS *another nameserver IP provided by my school*
THAT *another nameserver IP provided by my school*

* A some static address[COLOR=blue][COLOR=crimson]

Reply With Quote
  #9  
Old February 11th, 2004, 04:54 AM
SilentRage's Avatar
SilentRage SilentRage is offline
DNS/BIND Guru
Dev Shed Specialist (4000 - 4499 posts)
 
Join Date: Jun 2003
Location: OH, USA
Posts: 4,193 SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 5 Days 14 h 27 m 56 sec
Reputation Power: 77
Kinda yes, you can't use a name server IP in a NS record though. It also depends on if the target name server is properly configured and updated with the current IP.

And would ya stop yellin and getting all exasperated? Doesn't make me love ya more. Doesn't encourage people to help you either.

Reply With Quote
  #10  
Old February 11th, 2004, 08:23 AM
sk8er sk8er is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 8 sk8er User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
yes the nameserver is configured with the new ip and everything.
Just wanted to bring 3 more facts to your attention regarding this:

1. other option than using IP of nameserver in NS record (I was sing the IP right now because it would stupid giving it a name because my nameserver (local one) wont be able to resolve it anywayz)

2. this zone is still configured for forwarding, so is THAt record still gonna work

3. what does the THAT record do and where can I get more info on it (RFC??)

Reply With Quote
  #11  
Old February 11th, 2004, 10:09 AM
sk8er sk8er is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 8 sk8er User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
basically the idea of th enetire question is that when a user asks for login.oscar.aol.com it somehow gets a current IP from another nameserver and all other requests are directed to a static ip.

So how would I generate recursive queries from the zone file for login.oscar.ao.com untl it gives back an A type address rather than a CNAME

Reply With Quote
  #12  
Old February 11th, 2004, 05:45 PM
SilentRage's Avatar
SilentRage SilentRage is offline
DNS/BIND Guru
Dev Shed Specialist (4000 - 4499 posts)
 
Join Date: Jun 2003
Location: OH, USA
Posts: 4,193 SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 5 Days 14 h 27 m 56 sec
Reputation Power: 77
1. other option than using IP of nameserver in NS record (I was sing the IP right now because it would stupid giving it a name because my nameserver (local one) wont be able to resolve it anywayz)

Just know this won't (or shouldn't) work. It is against RFC standards

login NS 127.0.0.1

And something like this will work. Delegation record + glue record

login NS virtualns.oscar.aol.com.
virtualns A 127.0.0.1

I assume you are saying this won't work

login NS ns.someotherzone.com.

2. this zone is still configured for forwarding, so is THAt record still gonna work

I see the word 'THAT' in your example zone, but I have no clue what 'THAT' is supposed to be. And your zone is configured to forward to another name server? This doesn't make sense. A zone can't be both authoritative and forwarding. Unless you mean it is a "forward" zone which is terminology Microsoft DNS Server likes to use for "master" zones.

3. what does the THAT record do and where can I get more info on it (RFC??)

I've read many RFC's but until I know what a 'THAT' record is I can't tell ya which one to read.

basically the idea of th enetire question is that when a user asks for login.oscar.aol.com it somehow gets a current IP from another nameserver and all other requests are directed to a static ip.

Using CNAME gets you the IP from another name server. It works already. the domain resolves to 4 IP's.

So how would I generate recursive queries from the zone file for login.oscar.ao.com untl it gives back an A type address rather than a CNAME

If you don't like the CNAME approach then you need to use my working example displayed above where you create a virtual name server domain and assign it an IP within the same zone. This way you use "delegation" to get to the next server with the dynamically updated IP.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationDNS > Urgent, Zone File


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 |