Re: Primary DNS server setup help

This is a discussion on Re: Primary DNS server setup help within the Bind Users forums, part of the DNS and Related Forums category; hi, you can't use your private (non-routable over internet) IP block for =20 your ns records. (If you ...


Go Back   Usenet Forums > DNS and Related Forums > Bind Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-14-2004
Genco YILMAZ
 
Posts: n/a
Default Re: Primary DNS server setup help

hi,
you can't use your private (non-routable over internet) IP block for =20
your ns records.
(If you want your domains to be public :)
Use your public IP address given to you by your provider in your NS recor=
ds.
When you assign your public IP to your domain , your sub-domains will be=20
reachable as well.
Don't worry about it..








techfish1 wrote:

>Hi, I was hoping to setup 2 separate www, dns, and mail servers, and
>have them act as backups for each other.
>
>Here's what I was planning:
>
>Primary DNS server for xtechsolutions.net (Secondary DNS server for
>jerichoroad.net)
>NetBSD 1.6.1 running BIND 9.2.3
>-----------------------------------------------------
> Cable modem
> Domain Name: xtechsolutions.net
> External NIC: 24.56.85.10 (static)
> Internal NIC: 192.168.1.1=20
> =20
>Primary DNS server for jerichoroad.net (Secondary DNS server for
>xtechsolutions.net)
>NetBSD 1.6.1 running BIND 9.2.3=20
>-----------------------------------------------------
> ADSL modem
> Domain Name: xtechsolutions.net
> External NIC: 216.206.233.187 (static)
> Internal NIC: 10.0.0.1=20
>
>I've read portions of Cricket's DNS & BIND, 4th ed, and the DNS & BIND
>on NETBSD guide. I worked through the example setup in the NetBSD
>guide, and *think* I've got a fairly good handle on the configuration
>files. But I'm completely confused about where internal and external
>addresses apply. (which shows that I don't have a fairly good handle
>on anything)
>
>If my hostname is xtechsolutions.net, and resolves to 24.56.85.10. To
>what IP do I assign the name NS1.xtechsolutions.net? 192.168.1.1? I
>don't even know if I'm making my question clear, so I'll provide the
>config files. My background is serial communications, not TCP/IP, so
>I may just be missing something very silly.
>
>In using the BIND and NAMED on NETBSD guide, the author uses the
>following example:
>
>--------------------------
>Begin example
>-------------------------
>domain to delegate: example.com
>primary dns server for example.com: ns.example.com
>ns.example.com IP address: 10.0.0.1
>secondary dns server for example.com: ns.other.com
>ns.other.com IP address: 172.16.0.1
>
>Here is how it is going to look like in the parent/name registry DNS
>zone:
>;
>; Delegate example.com to ns.example.com DNS
>;
>
>Name CLASS TTL TYPE RR Data=20
>example.com 86400 IN NS ns.example.com
> 86400 IN NS ns.other.com
>ns.example.com 86400 IN A 10.0.0.1
>ns.other.com 86400 IN A 10.0.0.2 (NOTE: why is this not
>172.16.0.1?)
>
>The last 2 lines are called glue records. Glue record is an A record
>where the name appears on the right hand side of an NS record.
>Here's the named.conf file taken from the example in the BIND & NAMED
>on NETBSD guide.
>
>------------------------------
>End Example
>------------------------------
>
>I'm unclear as to whether to use my external IPs, which would
>translate as:
>
>domain to delegate: xtechsolutions.net
>primary dns server for xtechsolutions.net: ns.xtechsolutions.net
>ns.xtechsolutions.net IP address: 24.56.85.10
>secondary dns server for xtechsolutions.net: ns.jerichoroad.net
>ns.jerichoroad.net IP address: 216.206.233.187
>
>Name CLASS TTL TYPE RR Data=20
>xtechsolutions.net 86400 IN NS xtechsolutions.net
> 86400 IN NS ns.jerichoroad.net
>ns.xtechsolutions.net 86400 IN A 24.56.85.10
>ns.jerichoroad.net 86400 IN A 216.206.233.187 (NOTE: ???)
>
>Or whether to use my external IPs, which would translate as:
>
>domain to delegate: xtechsolutions.net
>primary dns server for xtechsolutions.net: ns.xtechsolutions.net
>ns.xtechsolutions.net IP address: 192.168.1.1
>secondary dns server for xtechsolutions.net: ns.jerichoroad.net
>ns.jerichoroad.net IP address: 10.0.0.1
>
>Name CLASS TTL TYPE RR Data=20
>xtechsolutions.net 86400 IN NS xtechsolutions.net
> 86400 IN NS ns.jerichoroad.net
>ns.xtechsolutions.net 86400 IN A 192.168.1.1
>ns.jerichoroad.net 86400 IN A 10.0.0.1 (NOTE: ???)
>
>I want to "get it", and I don't mind reading. The docs I've read all
>seem to use private network addresses and I just don't understand
>what's going on. I will be happy to provide config files, but I
>thought it was pointless at this point.
>
>I would have assumed that NS.xtechsolutions.net would have to be
>assigned to an external IP (24.56.85.10) in order for it to be seen.=20
>Is it the case that as long as xtechsolutions.net is assigned to
>24.56.85.10, any subdomains are also reachable? I'm lost.
>
>Any help (including directing me to further reading) would be
>appreciated.
> =20
>




Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 07:51 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0