> In article <slrnbnn27r.dol.bevakupfmyhome.net>,
> "Bev A. Kupf" <bevakupfmyhome.net> wrote:
> :> On 1 Oct 2003 18:49:28 -0700,
> :> lukeg (google512salsa.tv) wrote:
> :> > "Steve W. Jackson" <stevewjacksoncharter.net> wrote in message
> :> > news:<stevewjackson-929DD3.16392901102003corp.supernews.com>...
> :> >> In article <48b1003.0310011308.1e7e4233posting.google.com> ,
> :> >> [email]pseudonym422[/email] (lukeg) wrote:
> :> >>
> :> >> :> I use my iBook with internal airport card in various free wifi spots.
> :> >> :> Recently, although DHCP continues to work and assign an IP address, I
> :> >> :> no longer have DNS. I can probe the local net and manually add an
> :> >> :> entry to /etc/resolv.conf, but this is tedious. I don't know which
> :> >> :> process is supposed to update resolv.conf, if any. Suggestion for
> :> >> :> where to look?
> :> >>
> :> >> The resolv.conf file isn't supposed to be updated by anything in
> :> >> practical use. A DHCP server is supposed to be able to assign you an IP
> :> >> address, set your default gateway/router address, and provide DNS
> :> >> entries for you. The resolv.conf file is supposed to determine whether
> :> >> to use both DNS and a local "hosts" file, and in which order.
> :> Under other Unixes that I have used (Linux, Solaris), resolv.conf contains
> :> the domain names to search, and the IP address(es) of the nameserver(s).
> :> Under Linux, host.conf will contain information as to whether to use DNS,
> :> a local hosts file, and in which order, not resolv.conf.
> :> On both my OS X computers, /etc/resolv.conf contains the domain name, and
> :> IP addresses of nameservers. One of them (my laptop) gets its configuration
> :> from a WAP. Each time it gets configured via DHCP, a new file gets written
> :> to /var/run/resolv.conf which is soft-linked to /etc/resolv.conf. The
> :> file contains:
> :> domain dsl.sbcglobal.net
> :> nameserver 126.96.36.199
> :> nameserver 188.8.131.52
> :> Beverly
> I haven't used Solaris in quite some time, so I don't recall details on
> it. And I've only very recently touched any Linux at all. On AIX, AT&T
> System V, and SCO Unixware, however, I'm reasonably sure that I recall
> the /etc/resolv.conf file containing what you describe here (that is,
> the search domains, if specified, and name servers) PLUS an (optional)
> entry saying whether to use both a host file and BIND (name server), and
> in which order to consult them.
> I just checked my /var/run/resolv.conf file and the sym link. It was
> updated overnight, likely as of when my DHCP lease expired on my router.
> Seems consistent with your belief that it's updated by DHCP assignment.
> = Steve =