zAdok Posted October 31, 2015 Posted October 31, 2015 Hi All, I have the need to run my own DNS server as my router only does forwarding meaning I cannot setup split DNS for the services I host on unRAID. I have found on docker hub that there are plenty of dockers available for it however they are all Ubuntu based. I'm sure there would be others wanting this. Does anyone have DNSmasq running in a docker?
trurl Posted October 31, 2015 Posted October 31, 2015 Do you have the Community Applications plugin installed?
zAdok Posted November 3, 2015 Author Posted November 3, 2015 Do you have the Community Applications plugin installed? Yes I do. Each docker listed under "DNS Servers" is actually an updater for dynamic DNS (please correct me if if wrong). I require an actual DNS server.
scytherbladez Posted November 6, 2015 Posted November 6, 2015 I'm also interested in running a private DNS server docker. I've been looking into DNSCrypt, which encrypts DNS queries between yourself and OpenDNS servers.
username Posted November 6, 2015 Posted November 6, 2015 I would like to add to this request. I actually joined the forum today to make a request similar to what you are trying to do. I would like to request an unraid template be created for jwilder/nginx-proxy. I searched the forum and only found one member mention it but wasn't going to pm him about it. Using this docker image, you can setup your router to forward all inbound port 80/443 traffic from the web to the docker image. The docker image of nginx will read the URL and pass it to the corresponding server in its site list. The site list is dynamically regenerated as you spin up new docker application images such as plex/cp/sab/etc. To register a docker image with the proxy, you add the proper domain name(s) to the parameters of the docker image being launched. It also allows you to register multiple domain names, so you can setup plex.externaldomainname.com and plex.local pointing to the same server. Using this setup also allows you to spin up separate instances of the same application. One for external and one for internal. To complete the circle for public access you setup cname entries on your domain name provider to all point to your dynamically updated address. Nginx also supports multiple ssl certs, passwd protection, and more. You can also proxy all of Nginx through an application firewall (docker based) for all external trafffic. I am still going to post this as a separate request in case this doesn't meet all of your needs. I would like to learn how to create the unraid templates, but this one seems complex with the way it binds to socks....
zAdok Posted November 7, 2015 Author Posted November 7, 2015 I would like to add to this request. I actually joined the forum today to make a request similar to what you are trying to do. I would like to request an unraid template be created for jwilder/nginx-proxy. I searched the forum and only found one member mention it but wasn't going to pm him about it. Using this docker image, you can setup your router to forward all inbound port 80/443 traffic from the web to the docker image. The docker image of nginx will read the URL and pass it to the corresponding server in its site list. The site list is dynamically regenerated as you spin up new docker application images such as plex/cp/sab/etc. To register a docker image with the proxy, you add the proper domain name(s) to the parameters of the docker image being launched. It also allows you to register multiple domain names, so you can setup plex.externaldomainname.com and plex.local pointing to the same server. Using this setup also allows you to spin up separate instances of the same application. One for external and one for internal. To complete the circle for public access you setup cname entries on your domain name provider to all point to your dynamically updated address. Nginx also supports multiple ssl certs, passwd protection, and more. You can also proxy all of Nginx through an application firewall (docker based) for all external trafffic. I am still going to post this as a separate request in case this doesn't meet all of your needs. I would like to learn how to create the unraid templates, but this one seems complex with the way it binds to socks.... There's already an Nginx docker. http://lime-technology.com/forum/index.php?topic=34009.0
username Posted November 7, 2015 Posted November 7, 2015 There's already an Nginx docker. http://lime-technology.com/forum/index.php?topic=34009.0 Thank you for the response. I looked through the documentation and while it is an nginx proxy, the other one allows you to register subdomains on demand when docker files are started by adding the appropriate environmental variables to the docker. The other you sent requires you need to edit the config files by hand, unless I am missing something.
zAdok Posted November 7, 2015 Author Posted November 7, 2015 That sounds pretty good creating subdomains on the fly depending on what dockers are running. Might look into implementing that if/when someone dockers it for unraid.
zAdok Posted November 7, 2015 Author Posted November 7, 2015 I just want to bump the original request here. Can anyone help in creating a docker template for DNSmasq or any other DNS server?
ijuarez Posted January 8, 2016 Posted January 8, 2016 I am also looking into a DNS server, if no docker can be created, i guess the other option is to spin up a linux vm and run it that way.
lonix Posted January 11, 2016 Posted January 11, 2016 Feel free to make suggestions\requests for docker over at: http://feathub.com/linuxserver/linuxserver.github.io
spants Posted January 11, 2016 Posted January 11, 2016 I was going to knock up a template for an excellent dnsserver that I found, but try this in the meantime: docker pull sameersbn/bind:latest docker run --name bind -d --restart=always --p 53:53/udp --p 10000:10000 --v /mnt/user/docker/appdata/bind:/data sameersbn/bind:latest Change your directory to suit for changes to persist. Webmin can be found on https://tower:10000 details here: http://www.damagehead.com/blog/2015/04/28/deploying-a-dns-server-using-docker/
CHBMB Posted January 11, 2016 Posted January 11, 2016 I was going to knock up a template for an excellent dnsserver that I found, but try this in the meantime: docker pull sameersbn/bind:latest docker run --name bind -d --restart=always --p 53:53/udp --p 10000:10000 --v /mnt/user/docker/appdata/bind:/data sameersbn/bind:latest Change your directory to suit for changes to persist. Webmin can be found on https://tower:10000 details here: http://www.damagehead.com/blog/2015/04/28/deploying-a-dns-server-using-docker/ Yeah, I've messed around with that in the past, even made a template as well, can't remember why I got rid of it though....
ijuarez Posted January 11, 2016 Posted January 11, 2016 Feel free to make suggestions\requests for docker over at: http://feathub.com/linuxserver/linuxserver.github.io request added
Recommended Posts
Archived
This topic is now archived and is closed to further replies.