Report this

What is the reason for this report?

How can I make public DNS server?

Posted on February 25, 2015

I tried to make public DNS server with bind9, but I only can do requests from localhost. Read lots of articles, but still can’t do it. OS - Ubuntu 14.04, named.conf.options: options { directory “/var/cache/bind”; dnssec-validation no; listen-on { any; }; listen-on port 53 { any; }; allow-query { any; }; allow-recursion { any; }; allow-transfer { none; }; allow-query-cache { none; }; recursion yes;

    auth-nxdomain no;    # conform to RFC1035
    listen-on-v6 { any; };

};

root@p2p:/home/yngwie# netstat -tulpn | grep :53 tcp 0 0 public_ip:53 0.0.0.0:* LISTEN 29693/named tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 29693/named tcp6 0 0 :::53 :::* LISTEN 29693/named udp 0 0 public_ip:53 0.0.0.0:* 29693/named udp 0 0 127.0.0.1:53 0.0.0.0:* 29693/named udp6 0 0 :::53 :::* 29693/named



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

If you only want to test some software, use your computer Hosts file. Also check your ports are open, try this with your droplet http://www.yougetsignal.com/tools/open-ports/

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.