Re: can't resolve names, ipchains or dns problem
hi nic
if yu can ping using the ip#...
just add your "dns server ip#" into /etc/resolv.conf
c ya
alvin
On Sat, 17 Mar 2001, Nick wrote:
> Hi list,
>
> I have an internal network setup behind linux on a single static IP
> I am having problem reolving names but can ping IP's numericaly.
>
> I set up dhcp to allocate 192.168.1.0/24 throught the internal network
> Then I setup ipchains very basic, just to get it all going
>
> ipchains -P forward DENY
> ipchains -A forward -s 192.168.1.0/24 -j MASQ
>
> kernel is set to forward, echo "1" > /proc/sys/net/ipv4/ip_forward
>
> So I can ping from an internal machine to any global IP address, but when it
> comes to ping www.yahoo.com, get a bad host message.
>
> Using 192.168.1.1 as gateway for internal machines
> looked at /etc/resolv.conf, looks ok
> /etc/hosts
> /etc/network/interfaces all good too
>
> route tables look ok
> have 255.255.255.255 line for dhcp windozs
> default gateway ok
>
> I can ping domain names and ip address from the linux firewall.
> Just doesn't seem to want to forward those requests for the internal network
>
>
> HELP!!!
>
> -Nick
>
>
> --
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
Reply to: