Article 6Q8PR [SOLVED] Everything works great except DNS resolution

[SOLVED] Everything works great except DNS resolution

by
griffsterb
from LinuxQuestions.org on (#6Q8PR)
Hello folks. I have booted into my LFS 12.1 build and everything seems to be working properly, except DNS resolution.

I can "ping 8.8.8.8" and it returns some packet and latency information. But "ping www.google.com" returns "ping: unknown host".

I believe I have the relevant files set up correctly.

Code:#/etc/resolv.conf
nameserver 8.8.8.8
nameserver 8.8.4.4Code:#/etc/hosts
127.0.0.1 localhost
::1 localhost
127.0.0.1 $(my domain name)
192.168.237.128 $(my domain name)Code:#/etc/sysconfig/ifconfig.enp2s0
ONBOOT=yes
IFACE=enp2s0
SERVICE=ipv4-static
IP=192.168.237.128
GATEWAY=192.168.237.2
BROADCAST=192.168.237.255
PREFIX=24Any thoughts as to what's going on? Not that this is not a systemd build. Thank you!
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments