26 Apr
2020
26 Apr
'20
07:55
Admin Beckspaced wrote:
An entry in /etc/hosts
112.202.123.179 somedomain.com
DOES axctually work but it depends how you query the IP address
I did query via 'host' or 'dig' but these tools do a direct query to the nameserver. I don't have bind running on the server but forward to external DNS server
So if I do a 'ping' lookup via /etc/hosts works.
As pointed out by a few people DNSMasq is what I'm looking for.
Judging by your initial question, an entry in /etc/hosts will be enough. -- Per Jessen, Zürich (15.7°C) http://www.cloudsuisse.com/ - your owncloud, hosted in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org