Skip to content

othernet-local/dns_masq_osx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

wildcard DNS for Othernet Development

  • install dnsmasq $ brew install dnsmasq ... $ cp /usr/local/opt/dnsmasq/dnsmasq.conf.example /usr/local/etc/dnsmasq.conf
  • edit /usr/local/etc/dnsmasq.conf address=/othernet/127.0.0.1
  • start dnsmasq $ sudo brew services start dnsmasq
  • any time we change dnsmasq.conf we have to re-start dnsmasq: $ sudo brew services restart dnsmasq
  • For OS X to resolve requests from *.othernet to localhost we need to add a resolver:
    $ sudo mkdir /etc/resolver $ sudo touch /etc/resolver/othernet
  • edit /etc/resolver/othernet nameserver 127.0.0.1
  • re-start the computer to enable the resolver

=== REFERENCES

About

How to use a wildcard for DNS resolution on OSX

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published