Network name resolution problem

Mark Ovens mark at ukug.uk.freebsd.org
Tue Dec 30 20:46:15 GMT 2003


Kevin O'Connor wrote:
> Mark,
>       Microsoft OSs will always show the machine name regardless of the
> existence of DNS or not. Where's your DNS server for your private

You've confirmed what I suspected - that Windows does things it's own way.

> network, if your IP addresses are assigned by DHCP is the DNS server set
> to dynamically update, have you tried fixed IP addresses and an entry in

I've now turned off DHCP and given everything fixed IPs. The only reason
I was using DHCP was coz that was how the router came configured and I
only had one machine at the time so it didn't matter.

Thanks for the quick response guys.

Happy New Year.

Regards,

Mark Ovens

> /etc/hosts. What's the output from nslookup or dig. 
> Regards
> Kevin 
> 
> -----Original Message-----
> From: freebsd-users-admin at uk.freebsd.org
> [mailto:freebsd-users-admin at uk.freebsd.org] On Behalf Of Mark Ovens
> Sent: 30 December 2003 15:40
> To: freebsd-users at uk.freebsd.org
> Subject: Network name resolution problem
> 
> Two machines, both dual-booting WinXP and FreeBSD (one 4.9, the other 
> 5.1), networked through a Netgear switch with an ADSL router/modem 
> (Zyxel Prestige 650R) providing 'net access and is also the DHCP server.
> 
> Under both OSes both machines can access the 'net with no problem and 
> under XP both machines can see each other (i.e. the other machine 
> appears, by hostname, in Explorer). Under FreeBSD however, both machines
> 
> can see each other but I can only use IP addresses to communicate:
> 
> /usr/marko{57}% ping redshift
> ping: cannot resolve redshift: Unknown host
> /usr/marko{58}% ping 192.168.254.1
> PING 192.168.254.1 (192.168.254.1): 56 data bytes
> 64 bytes from 192.168.254.1: icmp_seq=0 ttl=128 time=1.036 ms
> 64 bytes from 192.168.254.1: icmp_seq=1 ttl=128 time=0.651 ms
> 64 bytes from 192.168.254.1: icmp_seq=2 ttl=128 time=0.641 ms
> ^C
> --- 192.168.254.1 ping statistics ---
> 3 packets transmitted, 3 packets received, 0% packet loss
> round-trip min/avg/max/stddev = 0.641/0.776/1.036/0.184 ms
> /usr/marko/{59}%
> 
> Obviously this is a PITA with dynamic addresses. Is this a config 
> problem with the router (i.e. should it be acting as a name server for 
> the LAN side) or with my FreeBSD configuration? Four hours of searching 
> the 'net has not yielded the answer.
> 
> Any ideas anyone?
> 
> Thanks
> 
> Regards,
> 
> Mark Ovens
> 
> 
> ------ FreeBSD UK Users' Group  -  Mailing List ------
> http://listserver.uk.freebsd.org/mailman/listinfo/freebsd-users
> 
> 
> ------ FreeBSD UK Users' Group  -  Mailing List ------
> http://listserver.uk.freebsd.org/mailman/listinfo/freebsd-users
> 
> .
> 







More information about the Ukfreebsd mailing list