Am 25.04.2020 um 14:03 schrieb Anton Aylward:
On 25/04/2020 07:15, Admin Beckspaced wrote:
there's also a /etc/hosts file but it doesn't seem to get picked up?
What are you expecting it to be picked up by?
No, really, as others commented, that's all it should take, so you've got something else going on. I'd suspect some sort of caching. In all my years I've never observed quite this.
there's also a DNS running on the box (same like on the windows computer) I doubt that very much Linux is not Windows. Perhaps be more precise: which version of DNS are you running.
For example, I'm running DNSMasq and the first things it does WHEN IT STARTS OR RESTARTS is read /etc/hosts. Any queries from programs that run though it before that -re-read might produce the phenomena you describe.
So what DNS server (and cache) you are running and HOW IT IS CONFIGURED matters if we are to advise you. Hello there ;)
never expected that my question about /etc/hosts would raise such attention and receive multiple feedbacks from the list. 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. Thanks for all your comments, ideas and hints. & sorry for all the trouble. Greetings Becki -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org