|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
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
|
|||
|
|||
|
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 |
|
#2
|
|||
|
|||
|
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 |
|
#3
|
||||
|
||||
|
__________________
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 |
|
#4
|
|||
|
|||
|
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. |
|
#5
|
||||
|
||||
|
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. |
|
#6
|
|||
|
|||
|
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. |
|
#7
|
||||
|
||||
|
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. |
|
#8
|
|||
|
|||
|
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] |
|
#9
|
||||
|
||||
|
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. |
|
#10
|
|||
|
|||
|
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??) |
|
#11
|
|||
|
|||
|
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 |
|
#12
|
||||
|
||||
|
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. |
![]() |
| Viewing: Dev Shed Forums > System Administration > DNS > Urgent, Zone File |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|