You are not logged in.

#1 2007-02-09 11:16:08

sweiss
Member
Registered: 2004-02-16
Posts: 635

DNS resolving issues

Hello.
I'm having a lot of issues when resolving DNS names on Linux.

I've 2 computers, one is running Windows XP SP2, the other is running Arch Linux. I connect to the internet using the Windows machine, and I have ICS turned on so I can connect through my linux box as well.

Whenever I connect to a host of any sort through the linux box, I often recieve "Unknown Host" messages. If I refresh several times then it works.
My linux box has dual boot with Windows XP SP2. If I use Windows on this machine, I'm having no DNS issues at all.

So I believe the problem is with the way my Arch is configured.
This is the relevant part from my /etc/rc.conf:

lo="lo 127.0.0.1"
#eth0="dhcp"
eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
INTERFACES=(lo eth0)
#
# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
#   - prefix an entry in ROUTES with a ! to disable it
#
gateway="default gw 192.168.0.1"
ROUTES=(gateway)

Can anyone help me rid of this annoying problem?

Offline

#2 2007-02-09 12:40:09

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: DNS resolving issues

Check /etc/resolv.conf, unless you're using network profiles or DHCP, DNS server settings should be made in /etc/resolv.conf

Offline

#3 2007-02-09 14:33:09

sweiss
Member
Registered: 2004-02-16
Posts: 635

Re: DNS resolving issues

This is what it says:

nameserver 192.168.0.1
search mshome.net

192.168.0.1 is the IP address of the Windows machine.
MSHOME is the name of the workgroup my Windows machine is in.

Offline

#4 2007-02-11 19:34:39

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,952

Re: DNS resolving issues

Check the network config for the inwdows install on your dualboot system.
I expect you'll find that it uses dhcp and your isp's dns-servers instead of the pc that runs ics.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#5 2007-02-17 21:22:23

sweiss
Member
Registered: 2004-02-16
Posts: 635

Re: DNS resolving issues

It turned out to be a problem with my Windows installation, or with the firewall configuration, not sure.
I just hate configuring firewalls when connection sharing is concerned.

Anyway, thanks a lot for all the help.

Offline

Board footer

Powered by FluxBB