• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1276
  • Last Modified:

how to set up a simple dns server using SUSE 10?

I'm running a windows AD domain, but I'm finding more and more uses for SUSE Linux: file sharing, backups, snort, etc.

I'd like to create a dns server on one of my Linux boxes. I've installed the dns server and created a zone. I've added a couple of records (my-test 10.71.45.2, etc). I set a test machine to use this box as the name server, but it's not resolving my-test.

Can someone direct me to a real simple setup? I just want to have it running as a secondary server in case my primary fails, so I expect to be entering records manually.
0
hullc65203
Asked:
hullc65203
  • 3
  • 2
1 Solution
 
Static-shockCommented:
Really simple you want to do apt-get bind 9

It should set up pretty much a forwarding look up sever.
This is a simple howto that fills you in more then I could.
The howto goes over the nessary files you need to get things working.

To be honest thou you prob just want to be a slave of your Windows DNS server.


http://www.linux.org/docs/ldp/howto/DNS-HOWTO-7.html

Hope this helps
Cheers
0
 
hullc65203Author Commented:
I changed it to a slave, and it works. Sort of. I can resolve local machines (x.x.42.x) but not other branches (x.x.40.x, x.x.41.x, x.x.44.x, etc)
0
 
Static-shockCommented:
Is your server in charge of the other domains, or you talking about PTR records for the other networks and reverse zones.
0
 
hullc65203Author Commented:
My main AD server is the master for the entire domain. I created a slave dns on the linux box and pointed it to the AD server.
0
 
Static-shockCommented:
Did you setup zone transfers to the linux dns servers.
You need to allow it on the host
And set the slave arguments in the named.conf
You need to do it for the foward and reverse zones

 // These are our slave zone files
   zone "openna.com" in {
   type slave;
   file "db.openna";
   masters { 208.164.186.1; };
   };

   zone "186.164.208.in-addr.arpa" in {
   type slave;
   file "db.208.164.186";
   masters { 208.164.186.1; };
   };
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now