You are not logged in.
Hey, same guy from https://bbs.archlinux.org/viewtopic.php?id=212937
My Linux was working perfectly for a while after that solution in the post, however, pacman stopped working. Can't resolve hosts! But, when I go to those hosts via Firefox, it pulls up perfectly fine!
I am using netctl to manage my connections, but I disabled them and am currently using a wired connection instead, for the time being.
I don't know what extra data to give. I do have one file, though. My /etc/resolv.conf has a small complaint listed in the code below.
nameserver 8.8.8.8
nameserver 8.8.4.4
nameserver 2001:4860:4860::8888
# Too many DNS servers configured, the following entries may be ignored.
nameserver 2001:4860:4860::8844I'm a bit confused about why I can connect to google.com on Firefox without a single delay, yet pinging google.com gives me [Name or service not known].
Any ideas?
Offline
Are you able to
dig www.google.comJust curious if it is just a problem with ping.
Also, do you have a hostname set?
hostname -fqdnOffline
Are you able to
dig www.google.comJust curious if it is just a problem with ping.
Also, do you have a hostname set?
hostname -fqdn
I do not have the dig command on my computer. My hostname is set, although
hostname - fqdnonly resulted in a
invalid option -- 'q' I don't know if it's a problem with ping, since even pacman has trouble with resolving host names.
Offline
Try
nslookup www.google.comThat is the old way of checking name resolution.
Offline
Try
nslookup www.google.comThat is the old way of checking name resolution.
Command not found.
How many important packages must I have missed out on? ![]()
Offline
You need to install dnsutils to use nslookup
pacman -S dnsutilsOffline
I do not have the dig command on my computer. My hostname is set, although
hostname - fqdnonly resulted in a
invalid option -- 'q'
missing second dash try this
hostname --fqdnOffline
Talster wrote:I do not have the dig command on my computer. My hostname is set, although
hostname - fqdnonly resulted in a
invalid option -- 'q'missing second dash try this
hostname --fqdn
That did the trick.
localhost.localdomainis the result.
Offline
You need to install dnsutils to use nslookup
pacman -S dnsutils
pacman still can't resolve hosts ![]()
Offline
pacman still can't resolve hosts
lol. Lets see if you have drill
Try
drill www.google.comand if nothing try
drill @8.8.8.8 www.google.comOffline
Talster wrote:pacman still can't resolve hosts
lol. Lets see if you have drill
Try
drill www.google.comand if nothing try
drill @8.8.8.8 www.google.com
Nope, no drill either! I need a list of necessary packages after this ![]()
Offline
Per the other thread are you still using systemd-resolved service and /run/systemd/resolve/resolv.conf ? I see you had everything working based on what Head_on_a_Stick recommended.
Offline
Per the other thread are you still using systemd-resolved service and /run/systemd/resolve/resolv.conf ? I see you had everything working based on what Head_on_a_Stick recommended.
Yes, but through user error my resolved.conf is gone. It'll be automatically regenerated, correct?
Pinging IP addresses works perfectly fine, however, host names do not.
Offline
through user error my resolved.conf is gone. It'll be automatically regenerated, correct?
No, the file at /run/systemd/resolve/resolv.conf is auto-generated but if you delete the symlink at /etc/resolv.conf then that will not be re-created.
Run the `ln` command again, check the success with:
ls -l /etc/resolv.confJin, Jîyan, Azadî
Offline
Talster wrote:through user error my resolved.conf is gone. It'll be automatically regenerated, correct?
No, the file at /run/systemd/resolve/resolv.conf is auto-generated but if you delete the symlink at /etc/resolv.conf then that will not be re-created.
Run the `ln` command again, check the success with:
ls -l /etc/resolv.conf
After running the last command, it printed this:
lrwxrwxrwx 1 root root 32 May 27 17:48 /etc/resolv.conf -> /run/systemd/resolve/resolv.confOffline