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

Hosting my own DNS server. Quick questions

I will be hosting my own DNS server soon. I am hosting my own DNS server, because I have a webserver I host.  I also have an INTERNAL mail server. (for internal use. Just so people from the internet can email me "dissolved@dissolvedz.com and it will reach my mail server)

Things I have done:

1. Machine is fully patched. The ONLY thing running on it is DNS . (I killed dynamic updates, turned off recursion, and uninstalled any un-needed features).

2.  The DNS server has a static IP of 192.168.1.4. It's primary DNS (in it's TCP/IP properties) is pointing to itself  as 127.0.0.1

3. Port UDP 53 is open on my firewall


Now the questions:

1. I know I have to create a forward lookup zone. What should I call my zone? Does the name matter?

2. For entries in my forward lookup zone, I will need:
   -an A record pointing to my webserver
   -an A record pointing to my internal mail server
and that is it for the forward lookup zone right?

3. Will I need to configure a Reverse lookup zone? Does it matter.
Thanks!

0
dissolved
Asked:
dissolved
  • 4
  • 2
  • 2
2 Solutions
 
Pete LongConsultantCommented:
>>1. I know I have to create a forward lookup zone. What should I call my zone? Does the name matter?

to be homest no - but to keep things simple use your registered domain name

>>an A record pointing to my webserver

correct and a host record for www that points to the same address is a good idea :)

>>an A record pointing to my internal mail server

OK but you will need an MX record as well

>>Will I need to configure a Reverse lookup zone? Does it matter.

Its a two second job to do but if you dont then democracy in the western world will be safe :)


Also having your DNS settings to the loopback address usually works but Ive seen it cause some bizarre problems, best to use the proper IP address of the server

Pete
0
 
dissolvedAuthor Commented:
>>OK but you will need an MX record as well

So I need an A record and an MX record for my mail server?

>>and a host record for www that points to the same address is a good idea

Do you mean I have to go to my DNS server,  RIGHT CLICK, and select NEW HOST RECORD. Then type www  for the host name. Then enter the IP address as my webserver?
0
 
elbereth21Commented:
Yes, you will put an MX record, with a number representing priority before it (if you have more than one mail server), and an A record afterwards, with the IP of your machine.
0
Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

 
elbereth21Commented:
For example:$ORIGIN .
$TTL 38400      ; 10 hours 40 minutes
insula.it           IN SOA  dns.dissolved.com. support.dissolved.com. (
                                2004111003  ; serial
                                86400       ; refresh (1 day)
                                3600        ; retry (1 hour)
                                604800      ; expire (1 week)
                                86400       ; minimum (1 day)
                                )
                        NS      dns.dissolved.it.
                       
                        MX   10 mail.dissolved.com
                        MX   20 mail2.dissolved.com
                        TXT     "dissolved"

Do not forget to change "serial" if you edit the file manually.
0
 
dissolvedAuthor Commented:
ok, I am at my DNS server at my house now.
I added the following in my forward lookup zone:
-----------------------------------
Host record:

www.dissolvedz.com     68.34.76.5
------------------------------------

If I go from an outside machine and ping www.dissolvedz.com, it responds with the proper IP

So step 1 is complete. Now what else do I need to do? I have an internal webserver with an IP of 192.168.2.4 and an internal mail server with an IP of 192.168.2.11.

Thanks (confused and my brain is getting fried )
0
 
dissolvedAuthor Commented:
closing question. Will post again when I get more info. If anyone wants to chime in, please do so though.
0
 
dissolvedAuthor Commented:
by the way, when I said " will post again when I get more info". I meant when I get more info about my setup. I didnt mean "when i get more responses."   Didnt want anyone getting the wrong idea.
Thanks guys
0
 
Pete LongConsultantCommented:
ThanQ
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

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

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