ispCP - Board - Support
Second Ip address and Nameserver setup? - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: Second Ip address and Nameserver setup? (/thread-3966.html)



Second Ip address and Nameserver setup? - chrisoverly - 08-07-2008 12:55 PM

I was wondering how to add the second IP address in Ubuntu 8.04 so that I have two legitimate nameservers... i also need to know how to set it up so that they are ns1.mydomain.com and ns2.mydomain.com

Thanks, Chris


RE: Second Ip address and Nameserver setup? - kilburn - 08-09-2008 03:36 AM

chrisoverly Wrote:I was wondering how to add the second IP address in Ubuntu 8.04 so that I have two legitimate nameservers...

Just set the SECONDARY_DNS variable the ispcp's config file (/etc/ispcp/ispcp.conf).

chrisoverly Wrote:i also need to know how to set it up so that they are ns1.mydomain.com and ns2.mydomain.com

Fortunatly for you, this is the default ispcp's behaviour. By the way, if you ever need to change the DNS template used to generate the domain's zones, it is located at /etc/ispcp/bind/parts/db_e.tpl


RE: Second Ip address and Nameserver setup? - chrisoverly - 08-09-2008 03:39 AM

ok, so what command do I use to edit ispcp's config file? thanks, chris


RE: Second Ip address and Nameserver setup? - kilburn - 08-09-2008 03:45 AM

Use your favourite editor (mine is vi, but nano should be easier if you aren't experienced)


RE: Second Ip address and Nameserver setup? - chrisoverly - 08-09-2008 03:49 AM

I only have the following listed, and I searched for it in the rest of the file, but cannot find it:

BuildDate = 20080806

Version = 1.0.0 RC6 OMEGA

CodeName = Priamos

DEFAULT_ADMIN_ADDRESS = chrisoverly@gmail.com

SERVER_HOSTNAME = 1224broadway.com

BASE_SERVER_IP = 207.119.89.114

BASE_SERVER_VHOST = server.1224broadway.com

MR_LOCK_FILE = /var/run/ispcp.lock

#
# File system variables


RE: Second Ip address and Nameserver setup? - kilburn - 08-09-2008 05:16 AM

Add it in the bind data section then:
Code:
...
#
# BIND data
#

BIND_CONF_FILE = /etc/bind/named.conf

BIND_DB_DIR = /var/cache/bind

+SECONDARY_DNS = xxx.xxx.xxx.xxx

...



RE: Second Ip address and Nameserver setup? - chrisoverly - 08-09-2008 05:32 AM

Where would I do that at? sorry for all of the questions, but I am entirely new to linux other than a couple of commands.

Thanks, Chris


RE: Second Ip address and Nameserver setup? - chrisoverly - 08-09-2008 06:11 AM

i found this webpage http://www.isp-control.net/documentation/frequently_asked_questions/how_do_i_configure_my_other_nameserver#ispcp_server

and i cannot figure out how to find my hash file....

and now my bind will not start