DNS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsSystem AdministrationDNS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old April 5th, 2002, 09:13 PM
InIt4Fun InIt4Fun is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Posts: 2 InIt4Fun User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Bind-DNS help

ok I need help.. been reading up on trying to do this for a week now.. here it goes..

I have a fbsd 4.4 virtual server.. 1 IP for it. let say it is 101.202.303.404 the servername is vs75.server***.com the dns admin for it set its reverse name to ns1.abc.com, and aliases ns2.abc.com and URL

I have registered ns1.abc.com and ns2.abc.com as name servers..


so currently the server is running URL I have another domain 123.com that I want to run on this server.. I have made the dns records ns1.abc.com and ns2.abc.com.. so a search for 123.com should look to ns1.abc.com to find out where it is at..

But I am having problems setting up Bind...

I have this in my named.conf


zone "." {
type hint;
file "named.root";
};

zone "0.0.127.IN-ADDR.ARPA" {
type master;
file "localhost.rev";
};

zone "0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.INT" {
type master;
file "localhost.rev";
};

zone "123.com" {
type slave;
file "/etc/namedb/123.com.hosts";
};

zone "303.202.101.in-addr.arpa" {
type slave;
file "/etc/namedb/101.202.303.rev";
};


now first does this look right.. should they be slaves or masters????

next

123.com.hosts looks like:

$ttl 38400
abc.com. IN SOA vs75.server***.com. init_4fun.hotmail.com. (
1017971451
10800
3600
604800
38400 )
abc.com. IN NS vs75.server***.com.

and 101.202.303.rev looks as so...

303.202.101.in-addr.arpa. IN SOA vs75.server***.com. init_4fun.hotmail.com. (
1017971600
10800
3600
604800
38400 )
303.202.101.in-addr.arpa. IN NS ns1.abc.com.

now... notice that there is vs75.server****.com in there.. in both.. should that be ns1.abc.com..

I don't know.. I am lost.. books aren't helping I hope someone else could....

if you notice anything at all please reply.. or email me...

Reply With Quote
  #2  
Old April 6th, 2002, 02:39 AM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
>> the dns admin for it set its reverse name

What is reverse name?

>> to ns1.abc.com

If the reverse DNS of 101.202.303.404 resolves to vs75.server123.com you CAN'T change it to ns1.abc.com or anything else. Because:

1) Unlike FQDN -> IP where unlimited of FQDNs can be resolved to 12.34.56.78, for the other way around (IP -> FQDN) there could only be ONE possible FQDN.
2) 99.999% of the time you can't be authoritative to your in-addr.arpa because your ISP can't delegate that to your authoritative DNS servers.
3) No matter what you do you just can't change the fact that your IP resolves to vs75.server123.com. Some ISPs can't even be authoritative for their own in-addr.arpa. A enduser like you definitely can't.

>> I have this in my named.conf

You don't need zone "0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.INT" and zone "303.202.101.in-addr.arpa" {

>> now first does this look right

No.

1) You need to set your box the same FQDN perhaps name it ns1.abc.com.
2) Create a zone for abc.com and find someone to do slave (ns2) for you
3) Set your SOA (abc.com zone and 123.com zone) to that ns1.abc.com instead of vs75.server***.com
4) For NS record, do the same as (3)
5) For abc.com zone add A record of ns1.abc.com itself and point it to your IP. If you need www.abc.com add another A record.

>> if you notice anything at all please reply

When it comes to troubleshooting MAIL and DNS you MUST provide real data (don't make up abc.com or use ***.com)

>> or email me

You ask a question here and get a reply here, that's what public forum is for. If you expect a reply via email find a consultant instead.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationDNS > Bind-DNS help

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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 On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap