Current time: 11-23-2024, 03:34 PM Hello There, Guest! (LoginRegister)


Post Reply 
Second Ip address and Nameserver setup?
Author Message
chrisoverly Offline
Junior Member
*

Posts: 13
Joined: Jul 2008
Reputation: 0
Post: #1
Second Ip address and Nameserver setup?
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
(This post was last modified: 08-09-2008 02:17 AM by chrisoverly.)
08-07-2008 12:55 PM
Find all posts by this user Quote this message in a reply
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #2
RE: Second Ip address and Nameserver setup?
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
08-09-2008 03:36 AM
Visit this user's website Find all posts by this user Quote this message in a reply
chrisoverly Offline
Junior Member
*

Posts: 13
Joined: Jul 2008
Reputation: 0
Post: #3
RE: Second Ip address and Nameserver setup?
ok, so what command do I use to edit ispcp's config file? thanks, chris
08-09-2008 03:39 AM
Find all posts by this user Quote this message in a reply
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #4
RE: Second Ip address and Nameserver setup?
Use your favourite editor (mine is vi, but nano should be easier if you aren't experienced)
08-09-2008 03:45 AM
Visit this user's website Find all posts by this user Quote this message in a reply
chrisoverly Offline
Junior Member
*

Posts: 13
Joined: Jul 2008
Reputation: 0
Post: #5
RE: Second Ip address and Nameserver setup?
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
(This post was last modified: 08-09-2008 03:53 AM by chrisoverly.)
08-09-2008 03:49 AM
Find all posts by this user Quote this message in a reply
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #6
RE: Second Ip address and Nameserver setup?
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

...
08-09-2008 05:16 AM
Visit this user's website Find all posts by this user Quote this message in a reply
chrisoverly Offline
Junior Member
*

Posts: 13
Joined: Jul 2008
Reputation: 0
Post: #7
RE: Second Ip address and Nameserver setup?
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
08-09-2008 05:32 AM
Find all posts by this user Quote this message in a reply
chrisoverly Offline
Junior Member
*

Posts: 13
Joined: Jul 2008
Reputation: 0
Post: #8
RE: Second Ip address and Nameserver setup?
i found this webpage http://www.isp-control.net/documentation...pcp_server

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

and now my bind will not start
08-09-2008 06:11 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 3 Guest(s)