Where does ISPconfig get its DNS settings?

Discussion in 'Installation/Configuration' started by greenpete, Jun 8, 2009.

  1. greenpete

    greenpete New Member

    I would like my server to use OpenDNS.
    I have tried to configure my modem router but didn't find a way to do it there so wondered if there is a way to force the server to use OpenDNS like you can a desktop machine?

    I would like to do this anyway but it's an error with a script I am running that aggregates RSS feeds (Feed on Feeds) giving me a "cURL error 6: name lookup timed out" error, nearly all the time now and WordPress's plugin installer failing due to similar timeouts.

    Thank you for you time... :)
  2. id10t

    id10t Member

    It is in /etc/resolv.conf - if you get DNS via DHCP, then you can change the dhclient.conf file to not ask for DNS server - just IP and gateway.
  3. greenpete

    greenpete New Member

    Hey great, thanks!
    I had a look at '/etc/resolv.conf' and found; 'nameserver' so it seems to be looking for DNS from the modem/router/ISP.

    I figure I could just change this for one of OpenDNS's IP address's but shouldn't I use two and if so how, like this; 'nameserver,'

    Thanks again, Peter :)
  4. falko

    falko Super Moderator ISPConfig Developer

    Use one nameserver per line, like so:
  5. greenpete

    greenpete New Member

    Thanks guys, my server is happily using the Open DNS servers, which is great!
    The original problem I was having with my RSS feed aggregator giving me a "cURL error 6: name lookup timed out" error seems to have eased but definitely not gone away :(
    I think this maybe a question for the developers of that app', unless you can help?

    Cheers :)
  6. falko

    falko Super Moderator ISPConfig Developer

    Do you know for which domain/hostname this error appears? You could then add it to /etc/hosts.
  7. greenpete

    greenpete New Member

    It happens (seemingly) at random to most, if not all, of the 30 or so feeds subscribed too on the system.

    The error is followed by a link to check the feed and when doing so usually confirms the feed is valid (try to validate it?).

    Thank you for your time.
  8. greenpete

    greenpete New Member

    This problem sorted it self out a few days later!
    I have no idea what changed other than me using OpenDNS but why it took a while to settle down I have no idea!
    Thanks all for your help. :)

Share This Page