Re: DNS problems

2005-01-09 Thread ryanv
I am no expert by any means, but the problem I was having sounds simular. I 
had a fresh install on friday, I could get to the web but dns resolutions 
were incredibly, slow and timing out most of the time.  But my box is now 
working perfectly.

#1 you dns nameservers addresses need to be in /etc/resolv.conf

this still did not solve my problem but it should.  I had to cvsup my /usr/src
and rebuild my world and everything works perfectly.  I do not know if 
something changed in the sources but it worked for me.




On Sunday 09 January 2005 01:39, Rajiv Krishnamurthy wrote:
 gentle people,
 apologies if this question should have been posted in the newbies
 list, but i saw a similar question in the archives of this mailing
 list, which did not quite answer my question.

 i'm trying to install FreeBSD for the first time. i'm installing it on
 my desktop.

 the installation has gone on pretty cleanly, i have a linksys
 firewall/wireless router behind which i have installed my freeBSD box.
 i have good connectivity and am able to ping, telnet to the internet.

 however DNS resolution is a problem.

 the browser does not work and for example
 dig www.freebsd.org also does not work.

 if i provide the nameserver,dig @server xxx.xxx.xxx - things are fine.
 any ideas. it has to be something really simple.

 during the configuration, when i configured my ethernet port, it cleanly
 gets the ip address from the linksys hub and also lists the nameserver
 correctly.

 what else do i have to configure ?

 ifconfig
 xl0 : flags=8843UP,BRODACAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
 options=bRXCSUM,TXSUM,VLAN_MTU
 inet6 fe80::250:daff:fe8c:dcaa%x10 prefixlen 64 scopeid 0x1
 inet 192.168.1.105 netmask 0xff00 broadcast 192.168.1.255
 ether 00:50:da:8c:dc:aa
 media Ethernet autoselect (100baseTX full-duplex)
 status:active
 plip0: flags=8810POINTTOPOINT,SIMPLEX,MULTICAST mtu 1500
 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
 inet 127.0.0.1 netmask 0xff00
 inet6 :: 1 prefixlen 128
 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3

 netstat -nr
 Routing tables

 Internet:
 DestinationGateway   Flags   RefsUseNetif Expire
 default   192.168.1.1   UGS 00x10
 127.0.0.1   127.0.0.1   UH   1   76   lo0
 192.168.1   link#1   UC   0  0  xl0
 192.168.1.1link#1   UHLW  1  0  xl0
 192.168.1.105127.0.0.1   UGHS  0  0  lo0
 192.168.1.255 ff:ff:ff:ff:ff:ff  UHLWb   0  2  xl0

 /etc/resolve.conf is empty.
 /etc/hosts is empty.

 thanks
 rajiv.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


dns timeouts

2005-01-07 Thread ryanv
I am new to FREEBSD and trying 5.3 on my compaq presario 2190US laptop.  After 
a fight I got the CD and everything running. Now my dns resolutions keep 
timing out.  I do not see anything on the errata, can someone point me in a 
direction to do some light reading or to a patch.  The problem seems simular 
to a BIND problem on my openBSD NAT, but I found a source patch in Nov..  

$ dig www.freebsd.org

;  DiG 9.3.0  www.freebsd.org
;; global options:  printcmd
;; connection timed out; no servers could be reached
$ dig www.freebsd.org

;  DiG 9.3.0  www.freebsd.org
;; global options:  printcmd
;; Got answer:
;; -HEADER- opcode: QUERY, status: NOERROR, id: 49881
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 5, ADDITIONAL: 5

;; QUESTION SECTION:
;www.freebsd.org.   IN  A

;; ANSWER SECTION:
www.freebsd.org.3123IN  A   216.136.204.117

;; AUTHORITY SECTION:
freebsd.org.3123IN  NS  ns0.freebsd.org.
freebsd.org.3123IN  NS  ns1.iafrica.com.
freebsd.org.3123IN  NS  ns1.downloadtech.com.
freebsd.org.3123IN  NS  ns2.downloadtech.com.
freebsd.org.3123IN  NS  ns2.iafrica.com.

;; ADDITIONAL SECTION:
ns0.freebsd.org.142949  IN  A   216.136.204.126
ns1.iafrica.com.114188  IN  A   196.7.0.139
ns1.downloadtech.com.   134511  IN  A   209.237.247.3
ns2.downloadtech.com.   134511  IN  A   209.237.247.2
ns2.iafrica.com.163 IN  A   196.7.142.133

;; Query time: 198 msec
;; SERVER: 68.87.96.4#53(68.87.96.4)
;; WHEN: Fri Jan  7 16:58:41 2005
;; MSG SIZE  rcvd: 243
$ ifconfig -a
sis0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
options=8VLAN_MTU
inet 192.168.0.3 netmask 0xff00 broadcast 192.168.0.255
inet6 fe80::20d:9dff:fe84:da86%sis0 prefixlen 64 scopeid 0x1
ether 00:0d:9d:84:da:86
media: Ethernet autoselect (100baseTX full-duplex)
status: active
plip0: flags=108810POINTOPOINT,SIMPLEX,MULTICAST mtu 1500
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
inet 127.0.0.1 netmask 0xff00
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
$ cat resolv.conf
domain  puffy
nameserver  68.87.96.4
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]