All of lore.kernel.org
 help / color / mirror / Atom feed
* PROBLEMS WITH DNS
@ 2007-06-08 17:23 Eduardo Franceschini
  2007-06-08 17:33 ` Nishanth Menon
  2007-06-08 17:39 ` Vadim Lebedev
  0 siblings, 2 replies; 16+ messages in thread
From: Eduardo Franceschini @ 2007-06-08 17:23 UTC (permalink / raw)
  To: linux-omap-open-source, linux-arm-kernel

bootargs=console=ttyS0,115200n8 noinitrd rw ip=dhcp root=/dev/mtdblock4
mem=30M

and when I boot the omap, I have

Sending DHCP requests ., OK
IP-Config: Got DHCP answer from 0.0.0.0, my address is 192.168.1.107
IP-Config: Complete:
      device=eth0, addr=192.168.1.107, mask=255.255.255.0, gw=192.168.1.1,
     host=192.168.1.107, domain=, nis-domain=(none),
     bootserver=0.0.0.0, rootserver=0.0.0.0, rootpath=
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.

I can get an IP, but when I go to /etc/resolv.conf , I don't have an IP for
DNS server... somebody know what to do?

thanks!

Eduardo

-- 
Eduardo Montenegro Franceschini
Engenharia de Computação - UNICAMP
fone: +55-19-9778-8998
e-mail: edumontenegro@gmail.com
-------------------------------------------------------------------
List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm-kernel
FAQ:        http://www.arm.linux.org.uk/mailinglists/faq.php
Etiquette:  http://www.arm.linux.org.uk/mailinglists/etiquette.php

^ permalink raw reply	[flat|nested] 16+ messages in thread
[parent not found: <HMEKJPOHJKKBIDHGBCMDMEHBCAAA.varyag18@mail.ru>]
[parent not found: <HMEKJPOHJKKBIDHGBCMDIEGLCAAA.varyag18@mail.ru>]
* Problems with DNS
@ 2003-09-05 17:47 Владимир Потапов
  2003-09-06  8:11 ` Cedric Blancher
  0 siblings, 1 reply; 16+ messages in thread
From: Владимир Потапов @ 2003-09-05 17:47 UTC (permalink / raw)
  To: netfilter

I have some problems with DNS and iptables.

  ------------      ETH1 ----------------------------- ETH0    ----------
 | DNS SERVER|-----------| Packet filter with iptables|--------|Internet|
  ------------           ------------------------------        ----------
This is my rules for forwarding dns packets from eth0 to eth1 and from eth1
to eth0 :
121.1.1.1 - eth0 routable IP.
192.168.5.2 - DNS_DMZ IP.
192.168.5.0/255.255.255.0 -DMZ subnet.
-A PREROUTING -d 121.1.1.1 -i eth0 -p tcp -j DNAT --to-destination
192.168.5.2
-A PREROUTING -d 121.1.1.1 -i eth0 -p udp -j DNAT --to-destination
192.168.5.2
-A POSTROUTING -o eth0 -j SNAT --to-source 121.1.1.1
-A FORWARD -d 192.168.5.0/255.255.255.0 -i eth0 -o eth1 -p tcp -m
tcp --dport 53 -j allow
-A FORWARD -s 192.168.5.0/255.255.255.0 -i eth1 -o eth0 -p tcp -m
state --state RELATED,ESTABLISHED -j ACCEPT
-A FORWARD -d 192.168.5.0/255.255.255.0 -i eth0 -o eth1 -p udp -m
udp --dport 53 -j ACCEPT
-A FORWARD -s 192.168.5.0/255.255.255.0 -i eth1 -o eth0 -p tcp -m
tcp --dport 53 -j allow
-A FORWARD -s 192.168.5.0/255.255.255.0 -i eth1 -o eth0 -p udp -m
udp --dport 53 -j ACCEPT
-A allow -p tcp -m tcp --tcp-flags SYN,RST,ACK SYN -j ACCEPT
-A allow -p tcp -m tcp -m state --state RELATED,ESTABLISHED -j ACCEPT
-A allow -p tcp -j LOG
-A allow -p tcp -j DROP

Problem:
My packet filter couldn't forward dns udp query to the internet and from
internet to local .What I'm doing wrong ?

-----
With best regards,
    Potapov Vladimir.



^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2007-06-11 11:35 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-08 17:23 PROBLEMS WITH DNS Eduardo Franceschini
2007-06-08 17:33 ` Nishanth Menon
2007-06-08 17:39 ` Vadim Lebedev
2007-06-08 17:54   ` Paulo Marques
2007-06-08 18:36     ` Vadim Lebedev
2007-06-08 19:05       ` Paulo Marques
2007-06-08 19:32         ` Hans-Jürgen Koch
2007-06-11 11:35           ` Paulo Marques
2007-06-08 19:39       ` Russell King - ARM Linux
2007-06-08 19:38   ` Russell King - ARM Linux
     [not found] <HMEKJPOHJKKBIDHGBCMDMEHBCAAA.varyag18@mail.ru>
2003-09-07 12:53 ` Problems with DNS Cedric Blancher
2003-09-07 13:34   ` Владимир Потапов
2003-09-07 13:52     ` Cedric Blancher
     [not found] <HMEKJPOHJKKBIDHGBCMDIEGLCAAA.varyag18@mail.ru>
2003-09-06 12:49 ` Cedric Blancher
  -- strict thread matches above, loose matches on Subject: below --
2003-09-05 17:47 Владимир Потапов
2003-09-06  8:11 ` Cedric Blancher

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.