Find the answer to your Linux question:
Results 1 to 5 of 5
Hello, I am currently trying to get the domain "cruiselinefans.com" working on a new server. The name servers ns1/ns2.cruiselinefans.com have been registered and are working however apparently the A record ...
  1. #1
    RAH
    RAH is offline
    Just Joined!
    Join Date
    Jun 2008
    Posts
    31

    Question DNS Problem

    Hello,

    I am currently trying to get the domain "cruiselinefans.com" working on a new server. The name servers ns1/ns2.cruiselinefans.com have been registered and are working however apparently the A record is missing on the new server. I just changed the name servers back to the old server to prevent any further downtime.

    I just changed the NS back to the old server to prevent any further downtime.

    Here's my setup on the new server:

    /etc/hosts

    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    67.215.235.206 server.cruiselinefans.com server
    127.0.0.1 server.cruiselinefans.com server localhost.localdomain localhost
    ::1 localhost6.localdomain6 localhost6



    /etc/httpd/conf/httpd.conf - end of file

    <VirtualHost server.cruiselinefans.com:80>
    ServerAdmin xxx@gmail.com
    DocumentRoot /www
    ServerName 67.215.235.206
    ErrorLog logs/error_log
    CustomLog logs/access_log common
    </VirtualHost>

    <VirtualHost cruiselinefans.com:80>
    ServerAdmin xxx@gmail.com
    DocumentRoot /www
    ServerName 67.215.235.206
    ErrorLog logs/error_log
    CustomLog logs/access_log common
    </VirtualHost>

    Include conf/vhosts/*.conf


    /var/named/cruiselinefans.com.db

    $TTL 14400
    @ 86400 IN SOA ns1.cruiselinefans.com.
    xxx@gmail.com. (
    2008074501 ; serial, todays date+todays
    86400 ; refresh, seconds
    7200 ; retry, seconds
    3600000 ; expire, seconds
    86400 ) ; minimum, seconds
    cruiselinefans.com. 86400 IN NS ns1.cruiselinefans.com.
    cruiselinefans.com. 86400 IN NS ns2.cruiselinefans.com.
    ns1 IN A 67.215.235.206
    ns2 IN A 67.215.235.207
    cruiselinefans.com. IN A 67.215.235.206
    cruiselinefans.com. IN A 127.0.0.1
    cruiselinefans.com. IN MX 0 cruiselinefans.com.
    mail IN CNAME cruiselinefans.com.
    www IN CNAME cruiselinefans.com.
    ftp IN A 67.215.235.206

    zone "server.cruiselinefans.com" IN {
    type master;
    file "/var/named/server.cruiselinefans.com.db";
    };

    $TTL 14400
    @ 86400 IN SOA ns1.cruiselinefans.com.
    xxx@gmail.com. (
    2008074501 ; serial, todays date+todays
    86400 ; refresh, seconds
    7200 ; retry, seconds
    3600000 ; expire, seconds
    86400 ) ; minimum, seconds
    server.cruiselinefans.com. 86400 IN NS ns1.cruiselinefans.com.
    server.cruiselinefans.com. 86400 IN NS ns2.cruiselinefans.com.
    server.cruiselinefans.com. IN A 67.215.235.206
    localhost.cruiselinefans.com. IN A 127.0.0.1

  2. #2
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,281
    Quote Originally Posted by RAH View Post
    Here's my setup on the new server:

    /etc/hosts

    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    67.215.235.206 server.cruiselinefans.com server
    127.0.0.1 server.cruiselinefans.com server localhost.localdomain localhost
    ::1 localhost6.localdomain6 localhost6
    Are your really using ipv6?

    /var/named/cruiselinefans.com.db

    $TTL 14400
    @ 86400 IN SOA ns1.cruiselinefans.com.
    xxx@gmail.com. (
    2008074501 ; serial, todays date+todays
    86400 ; refresh, seconds
    7200 ; retry, seconds
    3600000 ; expire, seconds
    86400 ) ; minimum, seconds
    cruiselinefans.com. 86400 IN NS ns1.cruiselinefans.com.
    cruiselinefans.com. 86400 IN NS ns2.cruiselinefans.com.
    Since you have your default TTL set in the SOA record you don't need to redefine it in the 'NS' records.

    ns1 IN A 67.215.235.206
    ns2 IN A 67.215.235.207
    cruiselinefans.com. IN A 67.215.235.206
    cruiselinefans.com. IN A 127.0.0.1
    This is a problem. By setting 127.0.0.1 as an 'A' record for your domain you have created a 'round-robin'. You need to fix this. Once this is fixed your problems should also go away.

    cruiselinefans.com. IN MX 0 cruiselinefans.com.
    mail IN CNAME cruiselinefans.com.
    www IN CNAME cruiselinefans.com.
    ftp IN A 67.215.235.206

    zone "server.cruiselinefans.com" IN {
    type master;
    file "/var/named/server.cruiselinefans.com.db";
    };

    $TTL 14400
    @ 86400 IN SOA ns1.cruiselinefans.com.
    xxx@gmail.com. (
    2008074501 ; serial, todays date+todays
    86400 ; refresh, seconds
    7200 ; retry, seconds
    3600000 ; expire, seconds
    86400 ) ; minimum, seconds
    server.cruiselinefans.com. 86400 IN NS ns1.cruiselinefans.com.
    server.cruiselinefans.com. 86400 IN NS ns2.cruiselinefans.com.
    server.cruiselinefans.com. IN A 67.215.235.206
    localhost.cruiselinefans.com. IN A 127.0.0.1
    Not sure why you have a second zone file defined. It could all be handled by the first zone file.

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

  3. #3
    RAH
    RAH is offline
    Just Joined!
    Join Date
    Jun 2008
    Posts
    31
    Thanks, that makes sense for the most part apart from the bit regarding IP V6. I'm not using that, what should be changed there?

  4. #4
    RAH
    RAH is offline
    Just Joined!
    Join Date
    Jun 2008
    Posts
    31
    I removed the round-robin A entry, restarted named and the issue remains.

  5. #5
    Trusted Penguin jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    4,071
    Quote Originally Posted by RAH View Post
    Thanks, that makes sense for the most part apart from the bit regarding IP V6. I'm not using that, what should be changed there?
    It should be set for IPv4. You should be able to accomplish this by editing the /etc/modprobe.conf file.
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to Private Messages asking for Linux help. Please, keep it on the public boards.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...