On Sun, 2023-04-30 at 21:42 -0400, Bill Cunningham wrote:
> Is there a host file that I could input google's DNS servers? What is
> this resolv.conf?

/etc/hosts 
Can have domain names, hostnames, and their associated numerical IP
addresses put into it.  You wouldn't put DNS server addresses into it,
but if you knew the IPs for the mirrors that weren't working you could
put them in it.

/etc/resolv.conf
Will hold the DNS server addresses in it that you're currently using,
and you can manually edit it to something else (bearing in mind that
something else will probably change what you put in there, at some
stage).

Your problem *may* not just be unable to resolve the addresses, but try
it anyway.

Your computer needs to have an IP address that can talk to things
outside of its immediate network.  If its address is 127.0.0.1 it can
only talk to itself.  If it's address starts with 169.254 it can only
talk to other PCs on your LAN with similar addresses.  In those cases,
either you need to manually configure your network to use something
else, or figure out why something like your modem/router's DHCP server
is not configuring it for you.

If your computer is directly connected to the internet, it would have a
public IP address.  If it's behind a router, as most are these days,
it'll have an address starting with something like 192.168. or 10.0.0
(using the same scheme that the router, and everything else on your LAN
uses).

Your computer will also need a gateway address, that's the address it
goes through to get to the outside world, the address of your
modem/router.
 
-- 
 
uname -rsvp
Linux 3.10.0-1160.88.1.el7.x86_64 #1 SMP Tue Mar 7 15:41:52 UTC 2023 x86_64
 
Boilerplate:  All unexpected mail to my mailbox is automatically deleted.
I will only get to see the messages that are posted to the mailing list.
 
_______________________________________________
users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to