LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   DNS Problem (https://www.linuxquestions.org/questions/linux-newbie-8/dns-problem-653879/)

RAH104 07-06-2008 08:14 AM

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

RAH104 07-06-2008 09:55 AM

I was told that the "cruiselinefans.com. IN A 127.0.0.1 " was creating a round-robin issue. I removed it and restarted named however the issue remains.

jamesapnic 07-06-2008 11:33 AM

I cant not definitely say that this is your problem, however it is something I have experienced in the past. You need glue records on your domain to provide static dns resolution for the name server addresses, so that ns1/ns2. resolve even if your actual server is not functional or your records propogated. Most DNS registrars provide this facility in their control panel.

Hope this helps


All times are GMT -5. The time now is 12:39 AM.