I need a DNS sample please

F

Fizbin

I am switching from roadrunner hosting my dns for my
websites to a DNS server.

I think I have setup the cname, alias, SOA files correctly
however my sites still do not work.

Also the lines for a name server ns1.##.com

Can someone provide me with a quick sample of what a W2K
DNS for internet would look like?

Thanks
 
W

William Stacey

Here is an example. www record shows how to use cname to point to an
already created blank domain A record so "public.com" and www.public.com
point to the same place. I really don't like cnames however and you can
just create the "www" record as a normal host A record and point it to the
same place. The IPs, will of course, be your public IPs on your NAT or
other.
;
; Database file public.com.dns for public.com zone.
; Zone version: 19
;

@ IN SOA ns1.public.com. hostmaster.public.com. (
19 ; serial number
900 ; refresh
600 ; retry
86400 ; expire
3600 ) ; default TTL
;
; Zone NS records
;

@ NS ns1.public.com. ;Your public name servers
@ NS ns2.public.com.

;
; Zone records
;
@ A 192.168.0.1
@ MX 10 mail.public.com.
mail A 192.168.0.2
ns1 A 192.168.0.221
ns2 A 192.168.0.222
www CNAME public.com.
 
F

Fizbin

Here are a couple of issues.

My server is not named after my internet domains. Does
this matter?

I am hosting multiple websites, Do I need a seperate DNS
domain setup for each?

I am using the DNS mmc that is part of Administrative
tools, is this the best way to setup this server as a Name
Server to have it registered with netsol?

Can I host websites on the same server that is the
Internet DNS Name Server?

Why is it if I make a change to C:\WINNT\system32
\dns\###.dns it does not reflect the change in the DNS-MMC?
Which if these is actually referenced by internic?

Will this work if I only have 1 dns name server and 1
static IP? I was just going to keep the secondary
nameserver with RR. Will websearches always look for ns1
and if that fails go to ns2. I figure if my ns1 server is
down my websites are down as well so a ns2 with RR would
not matter anyway. Unless it uses ns2 as a load balancing
thing?
 
K

Kevin D. Goodknecht

In
Fizbin said:
Here are a couple of issues.

My server is not named after my internet domains. Does
this matter?

No, but you need to host one domain in DNS that you are going to put your
"alias" host name of your DNS server, this will provide the "glue" for your
name server. The alias I refered to is not actually an alias record (CNAME),
but is an "A" host record such as "NS1" this host will need to have a public
IP address that your name server can be reached from the internet. If using
a router or other NAT device, Incoming connections on port 53 UDP & TCP on
this public IP will need to be forwarded to this DNS server's IP.
Example:
In the Forward Lookup Zone for domain.com create a host record named NS1
with its public IP address. It wil then be know as NS1.domain.com register
this name and its IP address with Netsol as a name server with it public IP.
I am hosting multiple websites, Do I need a seperate DNS
domain setup for each?

Yes, you need a forward lookup zone for each domain in the form of
domain.com, domain1.com, and so on. Each of these domain FLZs will have NS
records named NS1.domain.com.
I am using the DNS mmc that is part of Administrative
tools, is this the best way to setup this server as a Name
Server to have it registered with netsol?
Answered previously
Can I host websites on the same server that is the
Internet DNS Name Server?

Yes, you can but there are two gotchas,
1. If you need resolution for these domains from within the same NAT device
you will need two DNS servers, one for private records and one for public
records. Do not try to do this from the same DNS server! It won't work.
2. If you intend to be completely independent of external DNS server you
*MUST* have two publicly avialable IP addresses,should be to two machines
and should be in separate class "C" address spaces.
Why is it if I make a change to C:\WINNT\system32
\dns\###.dns it does not reflect the change in the DNS-MMC?
You must reload the zone to edit your zone file this way.
Which if these is actually referenced by internic?

Will this work if I only have 1 dns name server and 1
static IP? I was just going to keep the secondary
nameserver with RR. Will websearches always look for ns1
and if that fails go to ns2. I figure if my ns1 server is
down my websites are down as well so a ns2 with RR would
not matter anyway. Unless it uses ns2 as a load balancing
thing?
You can get someone else to host your secondary DNS but it won't happen
automatically you need to allow zone transfers to their DNS and they will
have to set up the secondary DNS. If you do this you will also have to
create an NS record for their DNS server for Secondary Zones they host. I'm
not sure if RR will host secondaries, some ISPs offer this for no charge for
either setup or hosting
All this being said, when you register a domain name you are required to
have two DNS servers, some registrars do not charge, but I think Netsol is
charging 14.95 a year now. But the catch22 is you need a domain name to
register a name server host name for, you are going to have to do this in
steps. 1, get a domain name, 2, register a name server using the domain
name, 3 transfer DNS to this name server. You are going to have to allow 24
to 48 hours between these step to allow for propagation.


--
Best regards,
Kevin D4 Dad Goodknecht Sr. [MVP]
Hope This Helps
============================
http://www.lonestaramerica.com/
============================
When responding to posts, please "Reply to Group" via your
newsreader so that others may learn and benefit from your issue.
To respond directly to me remove the nospam. from my email.
==========================================
--
Use Outlook Express?... Get OE_Quotefix:
It will strip signature out and more
http://home.in.tum.de/~jain/software/oe-quotefix/
==========================================
Keep a back up of your OE settings and folders with
OEBackup:
http://www.oehelp.com/OEBackup/Default.aspx
==========================================
 
J

Jeff Cochran

My server is not named after my internet domains. Does
this matter?

No. But you will need a nameserver record for the system in your
domain, and it should be an A record. Something like ns1.sample.com
as an A record, and as a name server record (NS).
I am hosting multiple websites, Do I need a seperate DNS
domain setup for each?

You need a separate forward zone for each domain. If your web sites
are in the same domain, they are merely hosts in the same forward
zone, if different domains, then they are separate zone. In other
words, sample1.com and sample2.com are two separate zones,
www1.sample.com and www2.sample.com are two hosts in the same forward
lookup zone.

You'll have a single reverese zone (if any) for each network block,
regardless of forward lookup domains in that block.
I am using the DNS mmc that is part of Administrative
tools, is this the best way to setup this server as a Name
Server to have it registered with netsol?

It's irrelevant. Using the MMC is the easiest way to mange your DNS
server, but that has nothing to do with how you configure the domain
at your registrar.
Can I host websites on the same server that is the
Internet DNS Name Server?

Yes. Even the same IP, especially using host headers.
Why is it if I make a change to C:\WINNT\system32
\dns\###.dns it does not reflect the change in the DNS-MMC?

because you need to stop the DNS service and restart it.
Which if these is actually referenced by internic?

Neither. or actually both. They're the same name server data file,
whether you access it through the MMC or edit it directly. Note that
you should always use the MMC, since it won't make typos in the file
or forget to increment serial numbers.
Will this work if I only have 1 dns name server and 1
static IP?

Will what work? You wnat a primary and a secondary, but the secondary
can be a public DNS or any other DNS.
I was just going to keep the secondary
nameserver with RR.

If RoadRunner will act as a secondary for your primary, that's fine.
But they'd be the ones to tell you whether they will or won't.
Will websearches always look for ns1
and if that fails go to ns2.

Maybe. :)

It's supposed to, but if your DNS takes a while to time out the client
may have already timed out looking.
I figure if my ns1 server is
down my websites are down as well so a ns2 with RR would
not matter anyway. Unless it uses ns2 as a load balancing
thing?

It's for redundancy, and a requirement for most registrars. If you're
going to manage your DNS, you should manage both primary and
secondary, whether you actually host them or not. If your ISP will
act as secondary, that's great.

You *may* want to pick up a book and do some reading on DNS, some of
what you're asking indicates you don't actually know what questions to
ask, and may not understand the answers to the ones you did ask.

Jeff
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top