LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 05-18-2010, 07:52 AM   #1
abhandari
LQ Newbie
 
Registered: Dec 2008
Location: NP
Posts: 28

Rep: Reputation: 1
Question DNS $ORIGIN problem


Hi everybody,
i have a domain suppose support.com.np which is pointed from root DNS server to Nameservers ns1.xyz.com.np (primary server) and ns2.xyz.com.np (secondary server). Now I have configured new ISPConfig (control pannel and its MyDNS) on webhost.xyz.com.np. Now i have zone file for support.com.np (www,ftp,mail pointed) by webhost.xyz.co.np server. What i want to do is, to delegate only NS record from ns1.xyz.com.np to webhost.xyz.com.np so that it could respond every subdomains like www.support.com.np, mail.support.com.np etc. I don't to enter any subdomain records at ns1.xyz.com.np.

Thanks everybody in advance for their replies.
 
Old 05-18-2010, 08:22 AM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,906

Rep: Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326
Hi,

Quote:
i have a domain suppose support.com.np which is pointed from root DNS server to Nameservers ns1.xyz.com.np (primary server) and ns2.xyz.com.np (secondary server).
You mean that ns1 and ns2 are the authoritative name servers for your domain?

Quote:
What i want to do is, to delegate only NS record from ns1.xyz.com.np to webhost.xyz.com.np so that it could respond every subdomains like www.support.com.np, mail.support.com.np etc.
Why don't you just use your domain registrar tools to change the primary dns to be webhost.xyz.com.np?

If you still want to keep ns1 and ns2 as authoritatives, then you can define the zone support.com.np as "forward". You need something like the following in named.conf of ns1 (and ns2 if you like)
Code:
zone "support.com.np" {
 	type forward;
	forwarders {x.x.x.x;};
};
Of course x.x.x.x is the IP of webhost.xyz.com.np

If this is not what you're trying to do, please give more details

Regards
 
Old 05-25-2010, 02:49 AM   #3
abhandari
LQ Newbie
 
Registered: Dec 2008
Location: NP
Posts: 28

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by bathory View Post
Hi,

You mean that ns1 and ns2 are the authoritative name servers for your domain?

Why don't you just use your domain registrar tools to change the primary dns to be webhost.xyz.com.np?

If you still want to keep ns1 and ns2 as authoritatives, then you can define the zone support.com.np as "forward". You need something like the following in named.conf of ns1 (and ns2 if you like)
Code:
zone "support.com.np" {
 	type forward;
	forwarders {x.x.x.x;};
};
Of course x.x.x.x is the IP of webhost.xyz.com.np

If this is not what you're trying to do, please give more details

Regards
Hi, bathory

THANKS A LOT i used ur technique. I was trying with $ORIGIN setting. Thanks Again.
 
  


Reply

Tags
dns


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
$ORIGIN Directive definition?? L1nuxn00b703 Linux - Newbie 2 10-27-2009 08:17 PM
Postfix - problem on specifying the origin for virtual domains haariseshu Linux - Server 1 10-01-2009 08:03 AM
Origin horatiu Linux - Software 1 07-25-2006 07:04 AM
Known bug possible origin of package installation problem manuelito Debian 2 06-10-2005 03:59 PM
xmessage origin zindadilfaiz Linux - Networking 2 02-19-2003 03:10 AM


All times are GMT -5. The time now is 09:00 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration