I always used the solutions here, Route complete TLD (*.dev for example) to 127.0.0.1 in my previous Ubuntu setups. But today after upgrading to 17 I am not able to make this work no matter what I try.
I installed all the released updates and bug-fixes. But can't make this work. Have you hit the same problem? I didn't do a single config yet, it's brand new install of Ubuntu.
- by default
dnsmasq
was not installed which I installed it and the status of the service is running - I tried putting the config on these files
/etc/dnsmasq.conf
and also tried/etc/NetworkManager/dnsmasq.d/dev-tld
but none worked - I did try these commands in both files
address=/dev/127.0.0.1
,address=/.dev/127.0.0.1
Instead of
dnsmasq
I went by editingsudo nano ./hosts
.Inside the file add a line similar to this
That's it, save the file and enjoy.