The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

temp failure in nameserver resolution?

Discussion in 'Bind / DNS / Nameserver Issues' started by Secret Agent, Apr 13, 2006.

  1. Secret Agent

    Secret Agent Guest

    Customer is getting this on his site:

    Warning: main() [function.main]: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /home/user/public_html/index.php on line 27

    Warning: main(http://www.clientdomain.com/links.html) [function.main]: failed to open stream: Success in /home/user/public_html/index.php on line 27

    Warning: main() [function.include]: Failed opening 'http://www.clientdomain.com/links.html' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/user/public_html/index.php on line 27

    I checked (even reset) the dns, it shows up fine. Domain is not expired. No one else reported this issue on the server either. Using EDGE cpanel (have to, in order to use built in v5 of MYSQL). I also ran apache update, didn't fix it.

    Code:
    for i in `grep nameserver /etc/resolv.conf | cut -d " " -f 2` ; do dig @$i clientdomain.com ; done
    
    ; <<>> DiG 9.2.4 <<>> @192.104.107.1 clientdomain.com
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 7608
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;clientdomain.com. IN A
    
    ;; Query time: 10 msec
    ;; SERVER: 192.104.107.1#53(192.104.107.1)
    ;; WHEN: Thu Apr 13 12:27:27 2006
    ;; MSG SIZE rcvd: 34
    
    
    ; <<>> DiG 9.2.4 <<>> @xxx.212.2.54 clientdomain.com
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 36372
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;clientdomain.com. IN A
    
    ;; Query time: 1 msec
    ;; SERVER: xxx.212.2.54#53(147.202.2.54)
    ;; WHEN: Thu Apr 13 12:27:27 2006
    ;; MSG SIZE rcvd: 34
    
    root@server3 [~]# host clientdomain.com
    Host clientdomain.com not found: 2(SERVFAIL)
    root@server3 [~]# host www.clientdomain.com
    Host www.clientdomain.com not found: 2(SERVFAIL)[/code]

    Any help appreciated. Thanks.
     
  2. Secret Agent

    Secret Agent Guest

    Code:
    root@server3 [~]# ifconfig
    eth0      Link encap:Ethernet  HWaddr 00:11:43:EE:D8:98
              inet addr:xxx.212.65.50  Bcast:xxx.212.65.55  Mask:255.255.255.248
              inet6 addr: fe80::211:43ff:feee:d898/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:18516394 errors:0 dropped:0 overruns:0 frame:0
              TX packets:23864352 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:402518586 (383.8 MiB)  TX bytes:231366513 (220.6 MiB)
              Base address:0xecc0 Memory:dfae0000-dfb00000
    
    eth0:1    Link encap:Ethernet  HWaddr 00:11:43:EE:D8:98
              inet addr:xxx.212.65.51  Bcast:xxx.212.65.255  Mask:255.255.255.0
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              Base address:0xecc0 Memory:dfae0000-dfb00000
    
    eth0:2    Link encap:Ethernet  HWaddr 00:11:43:EE:D8:98
              inet addr:xxx.212.65.52  Bcast:xxx.212.65.255  Mask:255.255.255.0
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              Base address:0xecc0 Memory:dfae0000-dfb00000
    
    eth0:3    Link encap:Ethernet  HWaddr 00:11:43:EE:D8:98
              inet addr:xxx.212.65.53  Bcast:xxx.212.65.255  Mask:255.255.255.0
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              Base address:0xecc0 Memory:dfae0000-dfb00000
    
    eth0:4    Link encap:Ethernet  HWaddr 00:11:43:EE:D8:98
              inet addr:xxx.212.65.54  Bcast:xxx.212.65.255  Mask:255.255.255.0
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              Base address:0xecc0 Memory:dfae0000-dfb00000
    
    eth0:5    Link encap:Ethernet  HWaddr 00:11:43:EE:D8:98
              inet addr:xxx.212.69.226  Bcast:xxx.212.69.255  Mask:255.255.255.224
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              Base address:0xecc0 Memory:dfae0000-dfb00000
    
    eth0:6    Link encap:Ethernet  HWaddr 00:11:43:EE:D8:98
              inet addr:xxx.212.69.227  Bcast:xxx.212.69.255  Mask:255.255.255.224
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              Base address:0xecc0 Memory:dfae0000-dfb00000
    
    eth0:7    Link encap:Ethernet  HWaddr 00:11:43:EE:D8:98
              inet addr:xxx.212.69.228  Bcast:xxx.212.69.255  Mask:255.255.255.224
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              Base address:0xecc0 Memory:dfae0000-dfb00000
    
    eth0:8    Link encap:Ethernet  HWaddr 00:11:43:EE:D8:98
              inet addr:xxx.212.69.229  Bcast:xxx.212.69.255  Mask:255.255.255.224
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              Base address:0xecc0 Memory:dfae0000-dfb00000
    
    eth0:9    Link encap:Ethernet  HWaddr 00:11:43:EE:D8:98
              inet addr:xxx.212.69.230  Bcast:xxx.212.69.255  Mask:255.255.255.224
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              Base address:0xecc0 Memory:dfae0000-dfb00000
    
    eth0:10   Link encap:Ethernet  HWaddr 00:11:43:EE:D8:98
              inet addr:xxx.212.69.231  Bcast:xxx.212.69.255  Mask:255.255.255.224
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              Base address:0xecc0 Memory:dfae0000-dfb00000
    
    eth0:11   Link encap:Ethernet  HWaddr 00:11:43:EE:D8:98
              inet addr:xxx.212.69.232  Bcast:xxx.212.69.255  Mask:255.255.255.224
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              Base address:0xecc0 Memory:dfae0000-dfb00000
    
    eth0:12   Link encap:Ethernet  HWaddr 00:11:43:EE:D8:98
              inet addr:xxx.212.69.233  Bcast:xxx.212.69.255  Mask:255.255.255.224
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              Base address:0xecc0 Memory:dfae0000-dfb00000
    
    eth0:13   Link encap:Ethernet  HWaddr 00:11:43:EE:D8:98
              inet addr:xxx.212.69.234  Bcast:xxx.212.69.255  Mask:255.255.255.224
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              Base address:0xecc0 Memory:dfae0000-dfb00000
    
    eth0:14   Link encap:Ethernet  HWaddr 00:11:43:EE:D8:98
              inet addr:xxx.212.69.235  Bcast:xxx.212.69.255  Mask:255.255.255.224
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              Base address:0xecc0 Memory:dfae0000-dfb00000
    
    eth0:15   Link encap:Ethernet  HWaddr 00:11:43:EE:D8:98
              inet addr:xxx.212.69.236  Bcast:xxx.212.69.255  Mask:255.255.255.224
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              Base address:0xecc0 Memory:dfae0000-dfb00000
    
    eth0:16   Link encap:Ethernet  HWaddr 00:11:43:EE:D8:98
              inet addr:xxx.212.69.237  Bcast:xxx.212.69.255  Mask:255.255.255.224
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              Base address:0xecc0 Memory:dfae0000-dfb00000
    
    eth0:17   Link encap:Ethernet  HWaddr 00:11:43:EE:D8:98
              inet addr:xxx.212.69.238  Bcast:xxx.212.69.255  Mask:255.255.255.224
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              Base address:0xecc0 Memory:dfae0000-dfb00000
    
    eth0:18   Link encap:Ethernet  HWaddr 00:11:43:EE:D8:98
              inet addr:xxx.212.69.239  Bcast:xxx.212.69.255  Mask:255.255.255.224
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              Base address:0xecc0 Memory:dfae0000-dfb00000
    
    eth0:19   Link encap:Ethernet  HWaddr 00:11:43:EE:D8:98
              inet addr:xxx.212.69.240  Bcast:xxx.212.69.255  Mask:255.255.255.224
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              Base address:0xecc0 Memory:dfae0000-dfb00000
    
    eth0:20   Link encap:Ethernet  HWaddr 00:11:43:EE:D8:98
              inet addr:xxx.212.69.241  Bcast:xxx.212.69.255  Mask:255.255.255.224
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              Base address:0xecc0 Memory:dfae0000-dfb00000
    
    eth0:21   Link encap:Ethernet  HWaddr 00:11:43:EE:D8:98
              inet addr:xxx.212.69.242  Bcast:xxx.212.69.255  Mask:255.255.255.224
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              Base address:0xecc0 Memory:dfae0000-dfb00000
    
    eth0:22   Link encap:Ethernet  HWaddr 00:11:43:EE:D8:98
              inet addr:xxx.212.69.243  Bcast:xxx.212.69.255  Mask:255.255.255.224
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              Base address:0xecc0 Memory:dfae0000-dfb00000
    
    eth0:23   Link encap:Ethernet  HWaddr 00:11:43:EE:D8:98
              inet addr:xxx.212.69.244  Bcast:xxx.212.69.255  Mask:255.255.255.224
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              Base address:0xecc0 Memory:dfae0000-dfb00000
    
    eth0:24   Link encap:Ethernet  HWaddr 00:11:43:EE:D8:98
              inet addr:xxx.212.69.245  Bcast:xxx.212.69.255  Mask:255.255.255.224
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              Base address:0xecc0 Memory:dfae0000-dfb00000
    
    eth0:25   Link encap:Ethernet  HWaddr 00:11:43:EE:D8:98
              inet addr:xxx.212.69.246  Bcast:xxx.212.69.255  Mask:255.255.255.224
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              Base address:0xecc0 Memory:dfae0000-dfb00000
    
    eth0:26   Link encap:Ethernet  HWaddr 00:11:43:EE:D8:98
              inet addr:xxx.212.69.247  Bcast:xxx.212.69.255  Mask:255.255.255.224
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              Base address:0xecc0 Memory:dfae0000-dfb00000
    
    eth0:27   Link encap:Ethernet  HWaddr 00:11:43:EE:D8:98
              inet addr:xxx.212.69.248  Bcast:xxx.212.69.255  Mask:255.255.255.224
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              Base address:0xecc0 Memory:dfae0000-dfb00000
    
    eth0:28   Link encap:Ethernet  HWaddr 00:11:43:EE:D8:98
              inet addr:xxx.212.69.249  Bcast:xxx.212.69.255  Mask:255.255.255.224
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              Base address:0xecc0 Memory:dfae0000-dfb00000
    
    eth0:29   Link encap:Ethernet  HWaddr 00:11:43:EE:D8:98
              inet addr:xxx.212.69.250  Bcast:xxx.212.69.255  Mask:255.255.255.224
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              Base address:0xecc0 Memory:dfae0000-dfb00000
    
    eth0:30   Link encap:Ethernet  HWaddr 00:11:43:EE:D8:98
              inet addr:xxx.212.69.251  Bcast:xxx.212.69.255  Mask:255.255.255.224
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              Base address:0xecc0 Memory:dfae0000-dfb00000
    
    eth0:31   Link encap:Ethernet  HWaddr 00:11:43:EE:D8:98
              inet addr:xxx.212.69.252  Bcast:xxx.212.69.255  Mask:255.255.255.224
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              Base address:0xecc0 Memory:dfae0000-dfb00000
    
    eth0:32   Link encap:Ethernet  HWaddr 00:11:43:EE:D8:98
              inet addr:xxx.212.69.253  Bcast:xxx.212.69.255  Mask:255.255.255.224
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              Base address:0xecc0 Memory:dfae0000-dfb00000
    
    eth0:33   Link encap:Ethernet  HWaddr 00:11:43:EE:D8:98
              inet addr:xxx.212.69.254  Bcast:xxx.212.69.255  Mask:255.255.255.224
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              Base address:0xecc0 Memory:dfae0000-dfb00000
    
    lo        Link encap:Local Loopback
              inet addr:127.0.0.1  Mask:255.0.0.0
              inet6 addr: ::1/128 Scope:Host
              UP LOOPBACK RUNNING  MTU:16436  Metric:1
              RX packets:3179080 errors:0 dropped:0 overruns:0 frame:0
              TX packets:3179080 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:661382786 (630.7 MiB)  TX bytes:661382786 (630.7 MiB)
    Code:
    
    
     
  3. Secret Agent

    Secret Agent Guest

    Because I have phpsuexec support enabled, I ran these commands yet agian (still didn't fix the problem)

    find /home -perm 777 -type d
    find /home -perm 777 -type f
    find /home -perm 777 -exec chmod 755 {} \;


    The htacess file shows this also:


    # -FrontPage-

    IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*

    <Limit GET POST>
    order deny,allow
    deny from all
    allow from all
    </Limit>
    <Limit PUT DELETE>
    order deny,allow
    deny from all
    </Limit>
    AuthName www.clientdomain.com
    AuthUserFile /home/user/public_html/_vti_pvt/service.pwd
    AuthGroupFile /home/user/public_html/_vti_pvt/service.grp
     
    #3 Secret Agent, Apr 14, 2006
    Last edited by a moderator: Apr 14, 2006
  4. sumith

    sumith Well-Known Member

    Joined:
    May 9, 2005
    Messages:
    96
    Likes Received:
    2
    Trophy Points:
    8
    As the output shosws. the issue may be related with the DNS settings. Also, check whether /etc/resolv.conf contains the correct nameserver IPs.
     
  5. Secret Agent

    Secret Agent Guest

    Anyone else have any hints on what could cause this? I'm baffled to be honest.

    [edit: posted exact time you did lol]

    yes, resolv.conf is fine
    No one else reported this issue
    DNS is find according to dnsstuff.com / dnsreport.com
    Site is live, just those particular errors
     
  6. sumith

    sumith Well-Known Member

    Joined:
    May 9, 2005
    Messages:
    96
    Likes Received:
    2
    Trophy Points:
    8
    Does other php scripts running fine for this domain? If so, can you please replace the url http://www.clientdomain.com/links.html by the filename path and check the same again? The error seems to be due to the domain not resolving from the server side. Let us know the results :D
     
    #6 sumith, Apr 14, 2006
    Last edited: Apr 14, 2006
Loading...

Share This Page