Gog Posted December 15, 2015 Share Posted December 15, 2015 Turns out I needed a DNS server... I installed the apache container for reverse proxy, SSL is setup and it does what I need. At that point I had to use a different URL to access my things depending if I was inside or outside my network. That's annoying. I needed a DNS server to intercept requests to my domain. Now I'm new to this so there might be a few stupid things in here but it works for me. I used sameersbn's docker container, loaded through the Community Applications/app store, with a mashup of setup info from here: http://www.damagehead.com/blog/2015/04/28/deploying-a-dns-server-using-docker/ and here: http://mixeduperic.com/ubuntu/seven-easy-steps-to-setting-up-an-interal-dns-server-on-ubuntu.html But that's not an unraid docker so I thought I'd document here what I did. There is a web admin page at https://tower:10000 that is a bit far from newby-friendly but the "edit config file" and "edit record file" buttons can save you from vi. Every time you start the docker, it will change the permissions on these config files to restrict access so it's annoying to edit from another system. modify the following config files to suit your needs: Define your forwarding address in named.conf.options Define your zone (domain) in named.conf.local Configure your zone in db.mydomain.com Configure reverse lookup in db.192 And restart the docker every time you change something. Quote Link to comment
kamhighway Posted December 21, 2015 Share Posted December 21, 2015 I would like to learn from your experience. Which docker container did you start out with? I do not see a container for BIND in the current AppStore. Quote Link to comment
Gog Posted December 21, 2015 Author Share Posted December 21, 2015 I did not use an unraid specific container but you should be able to search for "general use" dockers in the app store. Look for sameersbn's version of bind Quote Link to comment
kamhighway Posted December 21, 2015 Share Posted December 21, 2015 @gog, Thank you! Quote Link to comment
vincheesel Posted January 14, 2016 Share Posted January 14, 2016 I'm no expert, but anyone after a template, create a file called my-BindDNS.xml in this SMB share <unraid server>\flash\config\plugins\dockerMan\templates-user I had to use host mode as port 53 UDP was used (I think by dnsmasq) on my unraid Add this code to the my-BindDNS.xml file then it should appear in your add container list. You will need to alter the path below to match your configuration <?xml version="1.0" encoding="utf-8"?> <Container> <Name>BindDNS</Name> <Description>Bind DNS to host a DNS in your network environment.[br][br] Default root password for webmin is password </Description> <Registry>https://registry.hub.docker.com/u/sameersbn/bind/</Registry> <Repository>sameersbn/bind</Repository> <BindTime>true</BindTime> <Privileged>false</Privileged> <Environment/> <Networking> <Mode>host</Mode> <Publish/> </Networking> <Data> <Volume> <HostDir>/mnt/user/Docker/BindDNS</HostDir> <ContainerDir>/data</ContainerDir> <Mode>rw</Mode> </Volume> </Data> <Version>1dc0cb06</Version> <WebUI>https://[iP]:[PORT:10000]/</WebUI> <Banner>http://blog.learningtree.com/wp-content/uploads/2015/10/dns_bind-190x190.png</Banner> <Icon>http://blog.learningtree.com/wp-content/uploads/2015/10/dns_bind-190x190.png</Icon> <ExtraParams></ExtraParams> </Container> Good Luck 1 Quote Link to comment
Squid Posted January 15, 2016 Share Posted January 15, 2016 I'm no expert, but anyone after a template, create a file called my-BindDNS.xml in this SMB share <unraid server>\flash\config\plugins\dockerMan\templates-user I had to use host mode as port 53 UDP was used (I think by dnsmasq) on my unraid Add this code to the my-BindDNS.xml file then it should appear in your add container list. You will need to alter the path below to match your configuration As an aside, if you've got CA installed you can alternatively put the template file into /flash/config/plugins/community.applications/private and CA will be able to manage it. (With the template as shown, it will appear in the Uncategorized section) Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.