Re: Getting an error on a very simple DNS configuration

2015-04-08 Thread Samad Agha
Hi All, Problem is solved for now. Reindl Harald pointed out that my port 53 is not open. Sure enough I went on the new dns server and issued the command $service iptables stop, and all was working like a charm after that. Thank you guys, seriously the service you have set up is so valuable for n

Re: Getting an error on a very simple DNS configuration

2015-04-08 Thread /dev/rob0
On Wed, Apr 08, 2015 at 11:01:30PM +0100, Steven Carr wrote: > You're missing a whole swaythe of required declarations for BIND > to be able to handle recursion. Not so. In fact named with an empty named.conf has built-in hints, plus default settings, which makes it work fine. The allow-recursi

Re: Getting an error on a very simple DNS configuration

2015-04-08 Thread Mark Andrews
In message , Steven Carr writes: > On 8 April 2015 at 22:56, Reindl Harald wrote: > > looks like you did not open port 53 on the servers firewall > > You're missing a whole swaythe of required declarations for BIND to be > able to handle recursion. "named -c /dev/null" is all that is required

Re: Getting an error on a very simple DNS configuration

2015-04-08 Thread Steven Carr
On 8 April 2015 at 22:56, Reindl Harald wrote: > looks like you did not open port 53 on the servers firewall You're missing a whole swaythe of required declarations for BIND to be able to handle recursion. There are numerous examples via google, first one that is returned is... https://www.digi

Re: Getting an error on a very simple DNS configuration

2015-04-08 Thread Reindl Harald
Am 08.04.2015 um 23:52 schrieb Samad Agha: Ok, I corrected that and was able to restart named w/o any errors: [root@new-dns1 etc]# service named restart Stopping named:[ OK ] Starting named:[ OK ] [root@

Re: Getting an error on a very simple DNS configuration

2015-04-08 Thread Samad Agha
Ok, I corrected that and was able to restart named w/o any errors: [root@new-dns1 etc]# service named restart Stopping named:[ OK ] Starting named:[ OK ] [root@new-dns1 etc]# Now, I should have a working D

Re: Getting an error on a very simple DNS configuration

2015-04-08 Thread Mark Andrews
You have a "file not found" error. Specify the working directory and where file names are relative to or use absolute file names. options { directory "/var/named"; }; Mark In message , Samad Agha writes: > > Hey Gurus, > > I'm a newbie and am trying to set up the simplest DNS serve

Re: Getting an error on a very simple DNS configuration

2015-04-08 Thread Steven Carr
> [root@new-dns1 etc]# cat named.conf > zone "0.0.127.in-addr.arpa" { > type master; > file "db.127.0.0"; > }; You're missing the "directory" directive, BIND doesn't know where your files are. Above the zone statement add: directory "/var/named"; __