View previous topic :: View next topic |
Author |
Message |
NiK[IT] Tux's lil' helper
Joined: 28 May 2004 Posts: 91
|
Posted: Mon Nov 14, 2005 3:24 pm Post subject: Named/Bind configuration [SOLVED] |
|
|
Im just wondering if its possible to resolve a subdomain into another external subdomain.
For example if i can resolve:
test.mydomain.com INTO test.hisdomain.com
Any ideas?
Last edited by NiK[IT] on Tue Nov 15, 2005 1:34 pm; edited 1 time in total |
|
Back to top |
|
|
badchien Guru
Joined: 16 Feb 2004 Posts: 415 Location: doghouse
|
Posted: Tue Nov 15, 2005 7:31 am Post subject: |
|
|
If I understand what you're saying, I believe you're describing a CNAME. You would put something like the following line in the zone file for "mydomain.com":
Code: | test 14400 CNAME test.hisdomain.com. |
Then when you lookup test.mydomain.com, you will get a reply like this:
test.mydomain.com is an alias for test.hisdomain.com.
test.hisdomain.com has address 123.123.123.123
Is that what you're looking for? |
|
Back to top |
|
|
NiK[IT] Tux's lil' helper
Joined: 28 May 2004 Posts: 91
|
Posted: Tue Nov 15, 2005 1:33 pm Post subject: |
|
|
Absolutely yes!
I was missing the damn last . in the CNAME syntax so i was writing
Code: |
test IN CNAME test.hisdomain.com
|
and got my local domain suffix added to this...
Thanks for helping me! |
|
Back to top |
|
|
|