mydns + resolving external domains

Discussion in 'Installation/Configuration' started by Teddy_2009, May 28, 2009.

  1. Teddy_2009

    Teddy_2009 New Member

    Hi All,

    I followed the hot to forge to install ispconfig 3 and followed the link "http://www.howtoforge.com/mydns_mydnsconfig_dnsmasp_on_ubuntu_edgy" for mydns to resolve external domain like google,yahoo etc. This is not working at all.

    Please advice on this.

    Tks
    Teddy
     
  2. quannv

    quannv New Member

    You need put resolver IP in mydns.conf at line:

    recursive = your resolver
     
  3. Teddy_2009

    Teddy_2009 New Member

    Hi

    Tks for the reply. But domains hosted locally should be resolved by the local mydns. When I put recursive to a DNS IP the ispconfig server tries to resolve local hosted domains also from that. how to avaoid tha please?

    Teddy
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    mydns will only resolve domains that are not in its local database with the resolver.
     
  5. homo

    homo New Member

    and what's the syntax to add more than one resolvers?
     
  6. HooGLaNDeR

    HooGLaNDeR New Member

    you have to use the , e.g. : recursive = 192.168.0.1 , 192.168.0.1
     
    Last edited: Jun 2, 2009
  7. Artanis

    Artanis New Member

    I tried both my VPS providers internal + external DNS IP in the recursive option, both without any results. All was working fine and it just died out of the blue.
     
  8. falko

    falko Super Moderator ISPConfig Developer

    Try 145.253.2.75.
     
  9. Artanis

    Artanis New Member

    Code:
    root@us1:~# cat /etc/resolv.conf
    #nameserver 64.85.160.4
    #nameserver 209.165.240.227
    #nameserver 208.67.222.222
    nameserver 145.253.2.75
    root@us1:~# ping google.com
    ping: unknown host google.com
     
  10. till

    till Super Moderator Staff Member ISPConfig Developer

    Lookd like you do not have a internet connection at all. Are you able to ping a external IP?
     
  11. Artanis

    Artanis New Member

    Code:
    root@us1:~# ping google.com
    ping: unknown host google.com
    root@us1:~# ping -c 1 203.16.214.27
    PING 203.16.214.27 (203.16.214.27) 56(84) bytes of data.
    64 bytes from 203.16.214.27: icmp_seq=1 ttl=52 time=240 ms
    
    --- 203.16.214.27 ping statistics ---
    1 packets transmitted, 1 received, 0% packet loss, time 0ms
    rtt min/avg/max/mdev = 240.560/240.560/240.560/0.000 ms
    root@us1:~# ping -c 1 74.125.127.100
    PING 74.125.127.100 (74.125.127.100) 56(84) bytes of data.
    64 bytes from 74.125.127.100: icmp_seq=1 ttl=242 time=70.7 ms
    
    --- 74.125.127.100 ping statistics ---
    1 packets transmitted, 1 received, 0% packet loss, time 0ms
    rtt min/avg/max/mdev = 70.756/70.756/70.756/0.000 ms
    
    I just can't seem to get it to resolve external DNS's. I've got 3 other VPSs all setup using the same guide, even one in the same DC.
     
  12. falko

    falko Super Moderator ISPConfig Developer

    What happens if you use your router's local IP address in /etc/resolv.conf? Normally router's run a DNS server/cache.
     
  13. Artanis

    Artanis New Member

    It's hosted in a kansas city DC. The first two IP's in the resolv.conf are the internal/external DNS server's for my VPS provider.
     
  14. till

    till Super Moderator Staff Member ISPConfig Developer

    Are you able to ping these DNS IP's and are the IP's the same then on your other vps?
     
  15. HooGLaNDeR

    HooGLaNDeR New Member

    Maybe a stupid idea, but has you VPS provider setup some form of firewall?
    Or do the dns'es have stopped answering to your server?

    I know, our company does block ip's querying our DNS'es more then avg. (eg. 35.000x a day)
     

Share This Page