You are not logged in.

#1 2016-07-06 09:42:26

/dev/loop
Member
Registered: 2016-07-06
Posts: 10

Why is pacman not working with a router set as nameserver?

Hi,

I'm new to Arch Linux and right at the beginning pacman confronted me with some strange behavior. For every mirror pacman quits with a "resolving timed out" messsage while all other tools, e.g. drill, ping, etc., had no problems resolving those hostnames. In the resolv.conf file was a nameserver entry of my routers ip address. After changing it to e.g. "8.8.8.8" pacman works fine. So why is pacman struggling with a router set as nameserver?

Offline

#2 2016-07-06 09:49:14

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: Why is pacman not working with a router set as nameserver?

pacman uses libcurl, perhaps it has something to do with that. Please post the pacman option that you are trying with the debug option.

Offline

#3 2016-07-06 10:21:37

Awebb
Member
Registered: 2010-05-06
Posts: 6,286

Re: Why is pacman not working with a router set as nameserver?

Everything works fine.

$ cat /etc/resolv.conf
# Generated by resolvconf
domain fritz.box
nameserver 192.168.178.1

Offline

#4 2016-07-06 12:20:31

/dev/loop
Member
Registered: 2016-07-06
Posts: 10

Re: Why is pacman not working with a router set as nameserver?

x33a wrote:

pacman uses libcurl, perhaps it has something to do with that. Please post the pacman option that you are trying with the debug option.

Simply running 'pacman -Sy'. The debug output can be found on http://pastebin.com/LqqJ1gHf

Offline

Board footer

Powered by FluxBB