[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [SLUG] nslookup and 2 NIC's



I had this problem with my 8 modem to clients who when my linux server
connected to them, their server gave me DNS settings which overwrote the
/etc/resolv.conf file no matter what permissions were set.

I ended up editing /etc/sysconfig/network-scripts/ifup-ppp and removed the
line which passed the DNS entry into my /etc/resolv.conf

You might find some answers that way too.

-----Original Message-----
From: Graeme Merrall [mailto:graeme@nospam.inetix.com.au]
Sent: Friday, May 26, 2000 9:51 PM
To: slug@nospam.slug.org.au
Subject: [SLUG] nslookup and 2 NIC's


Hi.
Got Telstra Bigpond at home finally - pretty darn cool I reckon. I've
got a linux box sitting in the corner hooked up to the moem and the rest
of the network. It runs pretty well - esp with the latest bpalogin that
automatically sets up a dymamic map to bpc-users.org.
Anwyay, when I was tinkering prior to the hookup I set the gateway
machine up to do the DNS. It was forwarding requests on and doing the
reverse lookups when client machines conected. With the bigpond hookup,
everything comes down the pipe via DHCP and is handled at my end by
pump. Because the DNS comes through DHCP and it overwrites my nameserver
settings, reverse lookups no longer work on the gateway machine when
clients on my network connect.
Is this just a fact of life or can I do something about it? I've done
some digging for info but nothing really on this situation.
I've tried adding 
device eth1 {
	nodns 
}
to /etc/pump.conf but it doesn't seem to work. 
I'd be grateful for any advice on this one. Can I configure named to
answer on one interface only or something? I read a doc that suggested
running 2 nameservers but seems odd.

I also want to configure sendmail for masquerading but that's another
story :)

Cheers,
 Graeme
--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to slug-request@nospam.slug.org.au with
unsubscribe in the text
--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to slug-request@nospam.slug.org.au with
unsubscribe in the text