0

I want all DNS requests that are for *.internalhost to resolve to the same IP address. How is this possible using Ubuntu?

  • Do you only need this to happen on one machine, or do you need it to happen for all machines on your local network? – Jim Salter Nov 23 '12 at 23:45
2

Try this: http://daniel.hahler.de/easy-dns-wildcard-setup-for-local-domains-using-dnsmasq

Failing that, set up BIND and create a zone for an "internalhost" TLD with wildcard A record resolution. Which is probably more work than you're looking for. (Wildcard resolution from /etc/hosts, which is probably what you really want, isn't actually possible.)

  • Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference. – hexafraction Nov 24 '12 at 18:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.