To add a virtual DNS server
/sbin/applifconfig alias 1.2.3.4
rc.local
, located at /etc/rc.d/.
/sbin/applifconfig alias 1.2.3.4
...
where 1.2.3.4
is your reseller's DNS IP address.
options.conf.wp
, located at /etc/bind/
, and add the IP address to the listen-on option.Example:
//This file stores the options statement maintained by Parallels Pro
options {
directory "/var/named";
listen-on {127.0.0.1; 1.2.3.4;};< --add the IP address here
};
ns1.reseller.com 1.2.3.4
, to the file virtualDNS
, located at /var/named/
./etc/init.d/named restart
Note: While creating reseller.com make sure that ns1.reseller.com points to 1.2.3.4 and new NS records are added.
dig/nslookup
) on it.Note: The newly added virtual DNS server will not be displayed in the virtual DNS page of the Server Administrator control panel.