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

Re: can't resolve names, ipchains or dns problem



El Sun, Mar 18, 2001 at 10:59:26AM +0100, Albrecht Frank dijo:
-| 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!!!

Sorry if it is a dumb sugestion, but are you assigning the needed DNS
servers to your client machines with the dhcp server?
If you don't, or you don't manually set each client's resolv.conf (dumb
thing to do if you use dhcpd) then yor client machines won't be able to
resolve names.

HTH
-- 
______________________________
Daniel de los Reyes
S2-Selling Soluciones
Valencia Spain
e-mail: dadecal@s2-selling.com
Powered by Debian GNU-Linux 2.2r2
______________________________



Reply to: