Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Jun 2006
    Posts
    2

    Default 1 IP - 2 nameservers

    Hello, as far as WHM/cpanel is concerned, can I use the same IP address for two different nameservers and is it as easy as editing /etc/nameserverips and reloading bind or is there a better way to accomplish this ?

    for example :
    I have ns1.domain.com and ns2.domain.com configured with 1.1.1.1 and 1.1.1.2
    can I just add ns1.anotherdomain.com and ns2.anotherdomain.com with the same IP addresses so the file would look something like this ?

    1.1.1.1=ns1.domain.com
    1.1.1.1=ns1.anotherdomain.com
    1.1.1.2=ns2.domain.com
    1.1.1.2=ns2.anotherdomain.com

    or would it be

    1.1.1.1=ns1.domain.com ns1.anotherdomain.com
    1.1.1.2=ns2.domain.com ns2.anotherdomain.com


    Thanks

    -red

  2. #2
    Member
    Join Date
    Aug 2006
    Posts
    113

    Default ip address

    I don't think you will be able to assign same ip address to two nameservers . The nameservers resolve the hostname into the ip address of the server

  3. #3
    cPanel Partner NOC cPanel Partner NOC Badge jester.ro's Avatar
    Join Date
    Feb 2004
    Location
    Bucharest, Romania
    Posts
    304

    Default

    yes you can.

    Just make sure you have "allow sharing nameserver ip's" ticket in WHM.

    And use the first method you've desicribed, each ip-ns pair on it's own line.
    Reliable dedicated and colocation services in Romania
    www.etp.ro

  4. #4
    Registered User
    Join Date
    Jun 2006
    Posts
    2

    Default 1 IP - 2 nameservers

    Thanks, this will allow me to move the last of my stragglers domains.

    -red

  5. #5
    Member
    Join Date
    Aug 2006
    Posts
    27

    Default

    OK, did this above. Added domains neofied.com, totaldisney.com and eyeondisney.com with NS1 and NS2 records for each. Made changes at Godaddy. Restarted. This is what I'm seeing upon restarted. Noted where it says "bad dotted quad." Also note the "long longer listening" ... are all these things normal?

    named started ok Aug 12 13:26:54 cpanel named[19661]: shutting down: flushing changes Aug 12 13:26:54 cpanel named[19661]: stopping command channel on 127.0.0.1#953 Aug 12 13:26:54 cpanel named[19661]: no longer listening on 127.0.0.1#53 Aug 12 13:26:54 cpanel named[19661]: no longer listening on 209.85.49.102#53 Aug 12 13:26:54 cpanel named[19661]: no longer listening on 209.85.49.112#53 Aug 12 13:26:54 cpanel named[19661]: exiting Aug 12 13:26:54 cpanel named: succeeded Aug 12 13:26:54 cpanel named[28105]: starting BIND 9.2.4 -u named Aug 12 13:26:54 cpanel named[28105]: using 8 CPUs Aug 12 13:26:54 cpanel named: named startup succeeded Aug 12 13:26:54 cpanel named[28105]: loading configuration from '/etc/named.conf' Aug 12 13:26:54 cpanel named[28105]: no IPv6 interfaces found Aug 12 13:26:54 cpanel named[28105]: listening on IPv4 interface lo, 127.0.0.1#53 Aug 12 13:26:54 cpanel named[28105]: listening on IPv4 interface venet0:0, 209.85.49.102#53 Aug 12 13:26:54 cpanel named[28105]: listening on IPv4 interface venet0:1, 209.85.49.112#53 Aug 12 13:26:54 cpanel named[28105]: command channel listening on 127.0.0.1#953 Aug 12 13:26:54 cpanel named[28105]: zone 0.in-addr.arpa/IN: loaded serial 42 Aug 12 13:26:54 cpanel named[28105]: zone 0.0.127.in-addr.arpa/IN: loaded serial 1997022700 Aug 12 13:26:54 cpanel named[28105]: zone 255.in-addr.arpa/IN: loaded serial 42 Aug 12 13:26:54 cpanel named[28105]: zone 0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa/IN: loaded serial 1997022700 Aug 12 13:26:54 cpanel named[28105]: dns_rdata_fromtext: /var/named/eyeondisney.com.db:14: near '%nameservera%': bad dotted quad Aug 12 13:26:54 cpanel named[28105]: zone eyeondisney.com/IN: loading master file /var/named/eyeondisney.com.db: bad dotted quad Aug 12 13:26:54 cpanel named[28105]: zone mcclimans.com/IN: loaded serial 2006081106 Aug 12 13:26:54 cpanel named[28105]: zone ns1.mcclimans.com/IN: loaded serial 2006081101 Aug 12 13:26:54 cpanel named[28105]: zone server.mcclimans.com/IN: loaded serial 2006081101 Aug 12 13:26:54 cpanel named[28105]: dns_rdata_fromtext: /var/named/neofied.com.db:14: near '%nameservera%': bad dotted quad Aug 12 13:26:54 cpanel named[28105]: zone neofied.com/IN: loading master file /var/named/neofied.com.db: bad dotted quad Aug 12 13:26:54 cpanel named[28105]: dns_rdata_fromtext: /var/named/totaldisney.com.db:14: near '%nameservera%': bad dotted quad Aug 12 13:26:54 cpanel named[28105]: zone totaldisney.com/IN: loading master file /var/named/totaldisney.com.db: bad dotted quad Aug 12 13:26:54 cpanel named[28105]: zone localdomain/IN: loaded serial 42 Aug 12 13:26:54 cpanel named[28105]: zone localhost/IN: loaded serial 42 Aug 12 13:26:54 cpanel named[28105]: running Aug 12 13:26:54 cpanel named[28105]: zone ns1.mcclimans.com/IN: sending notifies (serial 2006081101) Aug 12 13:26:54 cpanel named[28105]: zone server.mcclimans.com/IN: sending notifies (serial 2006081101) Aug 12 13:26:54 cpanel named[28105]: zone mcclimans.com/IN: sending notifies (serial 2006081106) Aug 12 13:26:54 cpanel named[28105]: received notify for zone 'ns1.mcclimans.com' Aug 12 13:26:55 cpanel named[28105]: received notify for zone 'server.mcclimans.com' Aug 12 13:26:55 cpanel named[28105]: received notify for zone 'mcclimans.com'

Similar Threads & Tags
Similar threads

  1. nameservers
    By 192.168.1.1 in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 07-07-2008, 10:24 AM
  2. nameservers ... this is what I did.
    By eng911 in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 05-03-2006, 08:23 PM
  3. Nameservers
    By scrotaye2 in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 04-17-2006, 06:00 PM
  4. NameServers
    By Chatline in forum New User Questions
    Replies: 4
    Last Post: 06-23-2005, 11:13 AM
  5. Nameservers
    By Chadley in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 04-22-2005, 07:09 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube