Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Named/Bind configuration [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
NiK[IT]
Tux's lil' helper
Tux's lil' helper


Joined: 28 May 2004
Posts: 91

PostPosted: Mon Nov 14, 2005 3:24 pm    Post subject: Named/Bind configuration [SOLVED] Reply with quote

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
View user's profile Send private message
badchien
Guru
Guru


Joined: 16 Feb 2004
Posts: 415
Location: doghouse

PostPosted: Tue Nov 15, 2005 7:31 am    Post subject: Reply with quote

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
View user's profile Send private message
NiK[IT]
Tux's lil' helper
Tux's lil' helper


Joined: 28 May 2004
Posts: 91

PostPosted: Tue Nov 15, 2005 1:33 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
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
You cannot vote in polls in this forum