Go Back   HostGator Peer Support Forums > Public Forums > Pre-Sales Questions

Notices

Reply
 
Thread Tools
  #1  
Old 03-03-2006, 08:45 AM
jakejamm jakejamm is offline
Hatchling Croc
 
Join Date: Mar 2006
Posts: 10
Default DNS question

I'm new to Host Gator and I have a quick question about private name servers.

The domain I setup was morejammin.com and then went to the register and set a private nameserver ns1.morejammin.com and ns2.
The domain is working fine with the private name servers.

Now when I add another client the nameservers are ns187.websitewelcome.com and 188.

So now to change that over to the private nameservers do I edit the dns for that domain and put in the ns1.morejammin.com where the ns187.websitewelcome.com is in the dns edit???

Thanks for any help you can give me on this.
Reply With Quote
  #2  
Old 03-03-2006, 10:16 AM
quietFinn's Avatar
quietFinn quietFinn is offline
Emperor Croc
 
Join Date: Feb 2005
Posts: 2,764
Default Re: DNS question

1st you go to the zone file of morejammin.com and change the NS records to ns1.morejammin.com & ns2.morejammin.com, also change the nameserver entry in the SOA to ns1.morejammin.com.

Then in the same zone file add A records for those nameservers, i.e:
ns1 14400 IN A 69.93.144.2
&
ns2 14400 IN A 69.93.144.3

This you do ONLY in the zone file of morejammin.com!

In any other domains you have added go and change the nameserver (NS) entries and the nameserver in the SOA.

Then in WHM, go to DNS Functions-> Edit Zone Templates-> standardvirtualftp, edit the template so that it uses 2those 2 nameservers.
__________________
quietFinn - netFinn Finland
"Be who you are and say what you feel because those who mind don't matter and those who matter don't mind." - Dr. Seuss
Reply With Quote
  #3  
Old 03-03-2006, 11:44 AM
jakejamm jakejamm is offline
Hatchling Croc
 
Join Date: Mar 2006
Posts: 10
Default Re: DNS question

Thank you!
I think I got it, but the edit of the template.....

Here is what is in there
Code:
; cPanel %cpversion%
; Zone file for %domain%
$TTL %ttl%
@      %nsttl%    IN      SOA     %nameserver%. %rpemail%. (
        %serial%    ; serial, todays date+todays
        86400        ; refresh, seconds
        7200        ; retry, seconds
        3600000        ; expire, seconds
        86400 )        ; minimum, seconds

%domain%. %nsttl% IN NS %nameserver%.
%domain%. %nsttl% IN NS %nameserver2%.
%domain%. %nsttl% IN NS %nameserver3%.
%domain%. %nsttl% IN NS %nameserver4%.

%domain%. IN A %ip%

localhost.%domain%. IN A 127.0.0.1

%domain%. IN MX 0 %domain%.

mail IN CNAME %domain%.
www IN CNAME %domain%.
ftp IN A %ftpip%
So if I understand right I would edit it like this.
Code:
; cPanel %cpversion%
; Zone file for %domain%
$TTL %ttl%
@      %nsttl%    IN      SOA     ns1.morejammin.com. %rpemail%. (
        %serial%    ; serial, todays date+todays
        86400        ; refresh, seconds
        7200        ; retry, seconds
        3600000        ; expire, seconds
        86400 )        ; minimum, seconds

%domain%. %nsttl% IN NS ns1.morejammin.com.
%domain%. %nsttl% IN NS ns2.morejammin.com.
%domain%. %nsttl% IN NS %nameserver3%.
%domain%. %nsttl% IN NS %nameserver4%.

%domain%. IN A %ip%

localhost.%domain%. IN A 127.0.0.1

%domain%. IN MX 0 %domain%.

mail IN CNAME %domain%.
www IN CNAME %domain%.
ftp IN A %ftpip%
Is that right???
Reply With Quote
  #4  
Old 03-03-2006, 01:05 PM
quietFinn's Avatar
quietFinn quietFinn is offline
Emperor Croc
 
Join Date: Feb 2005
Posts: 2,764
Default Re: DNS question

Quote:
Originally Posted by jakejamm
Thank you!
I think I got it, but the edit of the template.....

Here is what is in there
Code:
; cPanel %cpversion%
; Zone file for %domain%
$TTL %ttl%
@      %nsttl%    IN      SOA     %nameserver%. %rpemail%. (
        %serial%    ; serial, todays date+todays
        86400        ; refresh, seconds
        7200        ; retry, seconds
        3600000        ; expire, seconds
        86400 )        ; minimum, seconds

%domain%. %nsttl% IN NS %nameserver%.
%domain%. %nsttl% IN NS %nameserver2%.
%domain%. %nsttl% IN NS %nameserver3%.
%domain%. %nsttl% IN NS %nameserver4%.

%domain%. IN A %ip%

localhost.%domain%. IN A 127.0.0.1

%domain%. IN MX 0 %domain%.

mail IN CNAME %domain%.
www IN CNAME %domain%.
ftp IN A %ftpip%
So if I understand right I would edit it like this.
Code:
; cPanel %cpversion%
; Zone file for %domain%
$TTL %ttl%
@      %nsttl%    IN      SOA     ns1.morejammin.com. %rpemail%. (
        %serial%    ; serial, todays date+todays
        86400        ; refresh, seconds
        7200        ; retry, seconds
        3600000        ; expire, seconds
        86400 )        ; minimum, seconds

%domain%. %nsttl% IN NS ns1.morejammin.com.
%domain%. %nsttl% IN NS ns2.morejammin.com.
%domain%. %nsttl% IN NS %nameserver3%.
%domain%. %nsttl% IN NS %nameserver4%.

%domain%. IN A %ip%

localhost.%domain%. IN A 127.0.0.1

%domain%. IN MX 0 %domain%.

mail IN CNAME %domain%.
www IN CNAME %domain%.
ftp IN A %ftpip%
Is that right???
Yes, that's right.
But you could also change the REFRESH value (in SOA) to something like 14400, and EXPIRE to 2000000.
__________________
quietFinn - netFinn Finland
"Be who you are and say what you feel because those who mind don't matter and those who matter don't mind." - Dr. Seuss
Reply With Quote
  #5  
Old 03-03-2006, 04:28 PM
jakejamm jakejamm is offline
Hatchling Croc
 
Join Date: Mar 2006
Posts: 10
Default Re: DNS question

Thank you so much quietFinn

It is nice to have good people around when you need help understanding something like this.

You would think a Host Gator support person would have stepped in an answered this question

Thanks again!
Reply With Quote
  #6  
Old 03-09-2006, 03:07 PM
Centella Centella is offline
Hatchling Croc
 
Join Date: Mar 2006
Posts: 3
Default Re: DNS question

Hi jakejamm,

Did you get this to work? I did the same thing you did here but mine didn't work. Everytime I added an account it was still using the websitewelcome.com name servers.

Any help would be greatly appreciated.
Reply With Quote
  #7  
Old 03-12-2006, 10:28 PM
jeff_s jeff_s is offline
Baby Croc
 
Join Date: Feb 2005
Posts: 69
Default Re: DNS question

Quote:
You would think a Host Gator support person would have stepped in an answered this question
And why would one think that, when these forums clearly say "Peer Support Forums" at the top? If you want HG support, that is available by mail, ticket, or chat. If you want peer support, you come here.
Reply With Quote
  #8  
Old 12-05-2007, 05:20 PM
vaco vaco is offline
Hatchling Croc
 
Join Date: Dec 2007
Posts: 1
Default Re: DNS question

hello,

where can i find IP for my own DNS servers? I was looking all around website, but I am not able to find them.

Thank you for advice.

vaco
Reply With Quote
  #9  
Old 12-05-2007, 05:22 PM
Sam Sam is offline
Emperor Croc
 
Join Date: Jan 2007
Location: /bin/false
Posts: 3,059
Default Re: DNS question

Quote:
Originally Posted by vaco View Post
hello,

where can i find IP for my own DNS servers? I was looking all around website, but I am not able to find them.

Thank you for advice.

vaco
They will be in your welcome email
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

All times are GMT -6. The time now is 08:16 AM.

 
Forum SEO by Zoints