No route to host-error

Discussion in 'Site & Server Administration' started by mammut, Jan 3, 2007.

  1. #1
    I do get this error in some scripts "server not connected
    fsock error: 113 No route to host ()"
    . Seems like my server does not know route to domain hosted on the same server. :confused:

    I did ping the nameservers,

    ns1.mydomain.com [130.74.135.102]
    ns2.mydomain.com [66.21.114.11]

    And this is when I added a new domain in Cpanel.
    Using nameservers with the following IPs: 66.21.113.11,66.21.114.11 Bind reconfiguring on serverprovider using rndc
    Created DNS entry for mydomain.com

    Should it really be 2 different nameserver IPs? Can that cause the "No rute to host-error"?
     
    mammut, Jan 3, 2007 IP
  2. tanfwc

    tanfwc Peon

    Messages:
    579
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Honestly speaking, i do not understand your question. What is your script trying to do?
     
    tanfwc, Jan 3, 2007 IP
  3. mammut

    mammut Active Member

    Messages:
    57
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    91
    #3
    I get this error in more than 1 PHP-script. One script is trying to post blog posts to a wordpress blog on the same server as the script.
     
    mammut, Jan 3, 2007 IP
  4. mammut

    mammut Active Member

    Messages:
    57
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    91
    #4
    Take a look at the IPs. Why does it say 130.74.135.102 for NS1 and 66.21.114.11 for NS2. And when I add a domain in Cpanel it says
    "Using nameservers with the following IPs: 66.21.113.11,66.21.114.11"

    Shoul'nt 130.74.135.102 be 66.21.113.11 or vice versa?

    Because NS2 seem to use the same IP...
     
    mammut, Jan 3, 2007 IP