| Linode Forum https://forum.linode.com/ |
|
| BIND setup log https://forum.linode.com/viewtopic.php?f=19&t=9948 |
Page 1 of 1 |
| Author: | superfastcars [ Sat Apr 06, 2013 12:03 am ] |
| Post subject: | BIND setup log |
I'm a total newbie to BINDS, and I'm trying to understand this thing. I want to push two "name servers" on one ip address: cat /etc/named.conf cat sr2.co.zone Part 1 complete, issues; Apparently parts of BIND require spaces to work properly (seriously?), "insecure" symbols enabled (like @), and some settings to enable the usage of subdomains with "_". Also added reverse ip so there is less complications. |
|
| Author: | sednet [ Sat Apr 06, 2013 1:41 am ] |
| Post subject: | Re: BINDS Questions |
Start comments in zone files with a semicolon ';' not double slash. |
|
| Author: | superfastcars [ Sat Apr 06, 2013 2:00 am ] |
| Post subject: | Re: BINDS Questions |
sednet wrote: Start comments in zone files with a semicolon ';' not double slash. That was fixed awhile ago, I ran a export from my old DNS Server. But DIG is not working when I explicitly try to query the dns server. Code: dig @37.247.53.215 sr2.co Not sure what I did wrong. So I double checked my iptables firewall? Code: iptables -vnL --line-numbers Update 2: Yes, it's being blocked: (remote test) Code: telnet 37.247.53.215 53 I think my server is listening on the wrong port... Code: netstat -tulpn | grep :53 Fixed by changing listening ipv4 address. It looks like it's working flawlessly locally, and remotely the port seems open. The next issue I'm running into is when I query dns remotely, it gives a error. Code: dig @37.247.53.215 sr2.co Update 3: Added/Modified the following in named.conf: (Server was set up to only accept queries from localhost for anything, changed it now to accept only for domain's managed by the name server.) Code: allow-recursion { localhost; };Seems to be working just fine. I did have to rewrite the name server whois entries. |
|
| Author: | hoopycat [ Sat Apr 06, 2013 6:53 am ] |
| Post subject: | Re: BIND setup log |
Seems like it is answering for me... but since you're posting here and thus obviously have a Linode, in addition to whatever 37.247.53.215 is, why not set it up as a slave? Having only one nameserver for a zone is not a valid configuration. You can also use Linode's DNS Manager instead/in addition to your own nameserver(s). |
|
| Author: | sednet [ Sat Apr 06, 2013 2:29 pm ] |
| Post subject: | Re: BIND setup log |
hoopycat wrote: Seems like it is answering for me... but since you're posting here and thus obviously have a Linode, in addition to whatever 37.247.53.215 is, why not set it up as a slave? Having only one nameserver for a zone is not a valid configuration. You can also use Linode's DNS Manager instead/in addition to your own nameserver(s). It looks like a virtual server from prometeus.net. They have some pretty good deals actually. |
|
| Author: | superfastcars [ Sat Apr 06, 2013 2:49 pm ] |
| Post subject: | Re: BIND setup log |
Your correct, prometheus doesnt offer name servers like linode does. So I had to learn BIND (nsd, or that other one, I forget). I have several domains to transfer. But things seem to be transitioning just fine. I did want to keep some of the info public in case anyone else has to go through the process of setting up their own name server with the latest version of bind. I might use bluevm for slave dns servers. (They have a deal for 12 usd yearly for 128mb of ram vm's between three locations; texas, illnois, and california) |
|
| Author: | sednet [ Sat Apr 06, 2013 5:11 pm ] |
| Post subject: | Re: BIND setup log |
superfastcars wrote: Your correct, prometheus doesnt offer name servers like linode does. So I had to learn BIND (nsd, or that other one, I forget). I have several domains to transfer. But things seem to be transitioning just fine. I did want to keep some of the info public in case anyone else has to go through the process of setting up their own name server with the latest version of bind. I might use bluevm for slave dns servers. (They have a deal for 12 usd yearly for 128mb of ram vm's between three locations; texas, illnois, and california) I've always run bind myself. I used to use everydns as a free slave before they got sold to dyn. There are deals for $2.50 a month on bluevm's site but I don't see $12 a year. I'm not sure I'd trust anywhere that cheap, they can't be doing it right on that budget. |
|
| Author: | superfastcars [ Sun Apr 07, 2013 2:30 am ] |
| Post subject: | Re: BIND setup log |
sednet wrote: I've always run bind myself. I used to use everydns as a free slave before they got sold to dyn. At $12 yearly you could scarcely complain if it didnt work properly. The deals are from a link on their BlueVM chat page;There are deals for $2.50 a month on bluevm's site but I don't see $12 a year. I'm not sure I'd trust anywhere that cheap, they can't be doing it right on that budget. https://www.bluevm.com/cart.php?gid=42 The "catch" is that they refill it over time. (In this case you can't buy any of the plans right now because they are all used up.) |
|
| Page 1 of 1 | All times are UTC-04:00 |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|