so you're trying to reach the internet via your browser on a CentOS machine? if thats the case i dont think you need to worry about iptables/http server (use firewalld instead, anyways)
It sounds like a DNS issue off the bat, using nslookup (package is 'bind-utils' if the command is not installed) run this command:
Code: Select all
[rxlx@surx ~]$ nslookup google.com
(example output)
Server: 8.8.8.8
Address: 8.8.8.8#53
Non-authoritative answer:
Name: google.com
Address: 172.217.9.142
Name: google.com
Address: 2607:f8b0:4003:c12::64
lets see what DNS server your box is really using. Also is your machine up to date?
if you're unsure: