Re: Resolving Local DNS Numbers
It sounds to me like once you connect to the internet you're looking for
sacrifice.whatever.your.domain.from.your.cable.modem.is.supplied.to.your.dhcpd.is ;>
Take a look at your /etc/hosts file
there should be a line 127.0.0.1 localhost
and then a name for the internal ip address of the machine as sacrifice
I did something similar in which I created a bogus domain lowerplanes
for my internal machines. Ie my server is richese.lowerplanes etc.
That way I can have hosts look to my DNS as richese with a line in
resolv.conf like:
search lowerplanes
put this in both server and client /etc/resolv.conf
Pump/dhcp may also clobber your resolv.conf when it loads. You can turn
off pump with a pump.conf of (change eth0 to your external interface):
device eth0 {
nodns
}
--mike
On 10 Aug 2001 19:29:23 +0100, Aquarion wrote:
> Michael Heldebrant took 36 tacks to pin this to the wall of
> linux.debian.user
> >What does your DNS machines resolv.conf look like?
>
> na@sacrifice:/etc$ cat resolv.conf
> nameserver 127.0.0.1
>
>
> > What domain do your
> >clients think they are on. What domain does your nameserver think it's
> >on?
>
> I haven't configured either of the domains, since they arn't under one
> (My host address for when I'm online is assigned dynamically by my
> ISP)
>
> >--mike
> >On 10 Aug 2001 12:49:16 +0100, Nick Avenell wrote:
> >> I have a nicely working DNS server for my little home network. Having read
> >> the HOWTO, I was happy to discover that Debian automagically sets things up
> >> so they work properly.
> >>
> >> DTRT, as ever.
> >>
> >> Anyway, I have a small problem which I hope you could help me with. As soon
> >> as anything *uses* the DNS server (One of the windows boxen using it, for
> >> example) the entire network loses the ability to resolve itself by
> >> servername (Which is sacrifice[1]). So the question is, how do I make the
> >> DNS server on sacrifice be able to resolve itself as the hostname (DNS
> >> works fine)?
> >>
> >> [1] Never call a box Sacrifice. It rebels. Expensively)
> >>
> >> --
> >> Nick Avenell
> >>
> >>
> >> --
> >> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> >> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> >>
> >>
>
>
> --
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
>
Reply to: