DNS problem

Discussion in 'Installation/Configuration' started by cortexx, Sep 10, 2012.

  1. cortexx

    cortexx New Member

    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 ?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

  3. cortexx

    cortexx New Member

    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 ;)
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    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.
     
  5. cortexx

    cortexx New Member

    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
     
  6. cortexx

    cortexx New Member

    this log file does not exist on our server

    /var/log/syslog
     
  7. falko

    falko Super Moderator Howtoforge Staff

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

    Does

    Code:
    dig @localhost yourdomain.com
    work?
     
  8. cortexx

    cortexx New Member

    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 .
     
  9. falko

    falko Super Moderator Howtoforge Staff

    Is named running? What are the outputs of
    Code:
    netstat -tap
    and
    Code:
    netstat -udp
    ?

    Are there any named errors in your logs?
     
  10. cortexx

    cortexx New Member

    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 ?
     
  11. falko

    falko Super Moderator Howtoforge Staff

    Which distribution do you use?
     

Share This Page