HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   DNS problem (http://www.howtoforge.com/forums/showthread.php?t=58675)

cortexx 10th September 2012 17:13

DNS problem
 
Hi Guys

I have a ISPconfig3 server using Version: 3.0.4.6 running on cent os with Nginx , dovecot etc.

the hosted websites for .com sites work fine , network solutions host the dns for these sites and points directly to our external ip address so it all works great.

the hosted .ca sites are held with tucows hosting but point to our dns on our ispconfig 3 server and it cannot resolve the ip address from this , I have used the dns wizard to configure the records for these domains but we simply cannot get these sites to work .

where do we start ?

till 10th September 2012 17:32

Please see dns debug instructions in sticky post:

http://www.howtoforge.com/forums/showthread.php?t=58408

cortexx 10th September 2012 18:00

here is the error log for /var/www/horseshoetax.ca/log


2012/09/10 09:34:03 [error] 4844#0: *345 open() "/var/www/horseshoetax.ca/web/wpad.dat" failed (2: No such file or directory), client: 192.168.1.1, server: horseshoetax.ca, request: "GET /wpad.dat HTTP/1.1", host: "67.224.94.138"


Im not the most experienced linux user , followed the how to ok , having a bit of an issue getting the bugs out though ;)

till 10th September 2012 18:25

The log you posted is from apache, so not dns related.

According to your first post, you have a dns problem. Please follow the dns fix instructions from the sticky post and post the named errors from the syslog file.

cortexx 10th September 2012 19:19

As per the first post it's not using apache , it's using nginx ..

dig @localhost horseshoetax.ca gives this output ...


; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.10.rc1.el6_3.2 <<>> @localhost horseshoetax.ca
; (1 server found)
;; global options: +cmd
;; connection timed out; no servers could be reached

cortexx 10th September 2012 19:24

this log file does not exist on our server

/var/log/syslog

falko 11th September 2012 09:22

Check the other logs, such as /var/log/messages.

Does

Code:

dig @localhost yourdomain.com
work?

cortexx 11th September 2012 19:50

dig @localhost yourdomain.com

gives the following msg :-

; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.10.rc1.el6_3.2 <<>> @localhost horseshoetax.ca
; (1 server found)
;; global options: +cmd
;; connection timed out; no servers could be reached
[root@neptune log]#


the /var/log/messages just has a bunch of ftp messages , nothing else .

falko 12th September 2012 15:09

Is named running? What are the outputs of
Code:

netstat -tap
and
Code:

netstat -udp
?

Are there any named errors in your logs?

cortexx 13th September 2012 03:13

named appears to not be running - it does not appear on the netstat -tap list and there are no named errors .

how do i configure it to start automatically in ispconfig3 ?


All times are GMT +2. The time now is 22:03.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.