Ask Your Question

local search domain

asked 2016-07-19 09:35:38 -0600


I have mdns configured, so that I can actually resolve 'machine.local'. However, I would like to have 'machine' alone resolvable. I tried adding 'local' to the resolv.conf search (via networkmanager), but that didn't help. Any idea?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2016-09-17 09:26:23 -0600

steeve gravatar image
edit flag offensive delete link more

answered 2016-07-19 10:23:58 -0600

swilson gravatar image

Have you tried editing /etc/hosts?


edit flag offensive delete link more


This is correct path forward; you need to add any namespace resolutions you would like to enforce locally for your system (that is, not through the DNS service to which your system connects as a client) in the /etc/hosts file. The file syntax should be clear from its contents.

bitwiseoperator gravatar imagebitwiseoperator ( 2016-07-19 11:50:24 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2016-07-19 09:35:38 -0600

Seen: 274 times

Last updated: Sep 17 '16