Establishing aTrust Relationship

bmcclure

Well-Known Member
Apr 12, 2003
191
0
241
Racine, WI
Are there any instructions or tutorials out there for establishing a trust relationship with a non-cpanel server? My primary is Cpanel but my secondary is not Cpanel.

Also, I've got two secondary name servers, I would like to correct this.

With our registrar I have ns2.andhosting.com listed as the correct IP address (in a totally different block and another city). On the server itself, I have a local IP set for the second nameserver, so it actually uses that one from what I can tell.

Whenever I try to lookup ns2.andhosting.com on ipaddress.net, it gets an error. I'm scared to change the records to that IP address on the server because I don't want any downtime. Can someone more knowledgeable than me tell me if they think ns2.andhosting.com is up or not?

Thanks!

cPanel.net Support Ticket Number:
 

bmcclure

Well-Known Member
Apr 12, 2003
191
0
241
Racine, WI
Thank you, but the secondary server does not have WHM or CPanel... it's only a nameserver, so there's no point in getting another license. I've heard you can have an automatic slave DNS without CPanel on the server.

cPanel.net Support Ticket Number:
 

ciphervendor

Well-Known Member
Aug 26, 2002
1,050
0
166
Just setup the primary nameserver to send out notifies and have your secondary axfr additions/modifications, etc. You may also want to rsync/scp zone files and recreate named.conf once a day on the secondary.

cPanel.net Support Ticket Number:
 

bmcclure

Well-Known Member
Apr 12, 2003
191
0
241
Racine, WI
I know, there are a few cron jobs I want to run on the 2nd server from the 1st server to do this, but I think you need a trust relationship to run a remote cron job, don't you?

cPanel.net Support Ticket Number:
 

bmcclure

Well-Known Member
Apr 12, 2003
191
0
241
Racine, WI
I still have to add records to my 2nd nameserver manually because it isn't a CPanel server. How can I make this automatic?

cPanel.net Support Ticket Number:
 

bmcclure

Well-Known Member
Apr 12, 2003
191
0
241
Racine, WI
I have a solution. I have a shell script run by a crontab that pulls the latest recorsd from the named.conf file on master and inserts them into a named.conf-slave file on the ns2 which is then included in the named.conf file on ns2.

The script also changes the required settings in each record.

if anyone's intersted in thsi script, I'll post it here.

The script works perfectly, but for some reason NS2 can't get the records from NS1 once they're in the named.conf file. I have allow-transfer set to 'all' on th eprimary, what else could be the problem?

cPanel.net Support Ticket Number:
 

casey

Well-Known Member
Jan 17, 2003
2,288
0
191
There's a DNS only version of cpanel now.

+-------------------------------------------------------------+
Thu Feb 26 14:36:58 EST 2004
8.9.0-DNSONLY_77
---------------------------------------------------------------
test release for dns only
---------------------------------------------------------------
 

cPanelKyle

Senior Technical Analyst
Staff member
Feb 10, 2003
61
3
233
cPanel Access Level
Root Administrator
Twitter
Originally posted by sneader
So, would we have to pay for another license to use this?
No, it's a stripped down version of WHM intended for that purpose only (DNS Clustering). It is FREE.
 
Thread starter Similar threads Forum Replies Date
C Domain Management 4
C Domain Management 3