Results 1 to 2 of 2

Thread: /etc/hosts and ppp dns look-ups HELP

  1. #1
    Join Date
    Dec 2008
    Beans
    23

    /etc/hosts and ppp dns look-ups HELP

    I've set up a custom entry in/etc/hosts to point to a sub-domain I'm working on that isn't yet registered with any DNS.

    When I try to connect via mobile broadband it ignores that and resolves the address without my change in /etc/hosts.

    I presume that some ppp config file has a list of DNS addresses it uses. Do I need to specify that it should look in /etc/hosts?

    Many Thanks
    Jake

  2. #2
    Join Date
    Jun 2006
    Location
    Red Sox Nation
    Beans
    40
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: /etc/hosts and ppp dns look-ups HELP

    It sounds like, when connected to the mobile broadband, it is using DNS before hosts, which is the opposite of the default action.

    While connected to your mobile broadband, get the output of:

    Code:
    sudo grep hosts /etc/nsswitch.conf
    Code:
    cat /etc/hosts

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •