HostOnNet.com Forum Index HostOnNet.com
Private Label Reseller Plan
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Plesk Slave DNS configuration

 
Post new topic   Reply to topic    HostOnNet.com Forum Index -> Dedicated Servers
View previous topic :: View next topic  
Author Message
admin
Site Admin


Joined: 23 Jan 2003
Posts: 256
Location: India

PostPosted: Sun Oct 16, 2005 10:14 pm    Post subject: Plesk Slave DNS configuration Reply with quote

1. Set up slave DNS zone
2. Allow zone transfers from master to slave server(s)
3. Check slave server pulling zones and answering for the domain.


By default the DNS templates on Plesk do not allow zone transfers. In order to provide slave DNS for your sites, you will need to allow the slave nameserver to transfer zones from your BIND server to the slave by adding the IP to the DNS template database (the misc table in plesk).

The slave nameserver simply needs to have a record such as the following added to it's named.conf file:


zone "domain.com" {
type slave;
file "db.domain.com";
masters { 1.2.4.5; };
};

Where masters contains the IP address of your master DNS server and domain.com is the domain to provide slave DNS.

Setting Up Slave DNS under Plesk 5.0 is not possible in the control panel. You must add a record to the DNS template database manually in order to have BIND allow a zone transfer. Setting IPs for allowing DNS zones transfer, requires adding to the 'misc' table parameter DNS_Allow_Transfer% (where "%" is a unique combination of letters or numbers) and the
slave DNS IP as the value. Enter the following on one line (edit the IP address first):


/usr/local/psa/mysql/bin/mysql -uadmin -p -D psa -e "insert misc values ('DNS_Allow_TransferXX', '1.2.3.4')"

when prompted for the password, enter the admin (control panel) password.


Adding a second slave to do DNS zone transfer requires adding another entry with a unique letter or number combo at the end.


/usr/local/psa/mysql/bin/mysql -uadmin -p -D psa -e "insert misc values ('DNS_Allow_TransferXY', '2.3.4.5')"


Be careful not to corrupt named.conf with malformed IPs. Also remember to add the domains to the slave servers named.conf file and restart named on the slave and master DNS server. You can restart BIND in Plesk through the control panel. We recommend stopping and then starting the BIND server rather than using the restart option.

Note: If you already have existing zones that do not allow transfer, you can manually add the IP to the named.conf file but if you do not add the IP to the database correctly, the next time the zone is edited, your changes will be gone.
_________________
HostOnNet.com - Reseller Hosting
Free Ads Forum, Promote your site
NetFreeHost.com - Free Web Hosting, phpBB Hosting
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    HostOnNet.com Forum Index -> Dedicated Servers 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


Powered by phpBB © phpBB Group. Hosted by phpBB.BizHat.com


For Support - http://forums.BizHat.com

Free Web Hosting | Free Forum Hosting | FlashWebHost.com | Image Hosting | Photo Gallery | FreeMarriage.com

Powered by PhpBBweb.com, setup your forum now!