LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-23-2004, 09:51 AM   #1
xedios
Member
 
Registered: May 2004
Location: SLO
Distribution: RH9
Posts: 70

Rep: Reputation: 15
DNS configuration ??


Hi

I was browsing the net and i for a simple solutin ..

I need to stop people to lview my domain

>nalookup ns.xx.com
>ls -d ns.xx.com
and the my dns give up all the information about my doman


what can I do to stop this ??

Do I have to modfy the named.conf file or the root zone whitch is holding my domain .. ??

Thanx

And marry chrismas to every one!
 
Old 12-23-2004, 10:01 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Why would you want to do this? Anyone can pull up DNS info or whois on a domain, etc.. Why does it have to be so secretive? And AFAIK its required info for your DNS to work properly, someone correct me if I'm wrong.
 
Old 12-23-2004, 11:05 AM   #3
bm17
Member
 
Registered: Sep 2004
Location: Santa Cruz, CA, USA
Distribution: Redhat 9.0
Posts: 104

Rep: Reputation: 15
When you become part of the DNS you are participating in a community. You need to be accountable to the community for any net abuses that may involve your domain name. The only reason I can think of for obscuring your identification is if you were a spammer.
 
Old 12-23-2004, 12:49 PM   #4
xedios
Member
 
Registered: May 2004
Location: SLO
Distribution: RH9
Posts: 70

Original Poster
Rep: Reputation: 15
Ok thanx for replaying .. but I asked a wrong question ..

So I wil ask in another waj

if i have a doman xxx.com
and a lot of su domain
mail.xxxx.com
www.xxxx.com

an thej are bind to the same ip adress or diferent no mether .. but those ip's ar visible to the DMZ

my problem is that that i have a setup like this

xxx.com -> my primary domain ( it is attachet to the WAN ip address )

lan.xxx.com -> my internal domann ( here is the problem How can I hide or disable this doman from being listed .?? This is for my internal ip range Ig. 192.168.0/24)

Ok i think it is ok now ..

PS I AM NOT A SPAMER . I just want to protect my internal network so that just any freeak whitch writes down nslookup and ls -d an my internal doman sees ip's of my pc ... ( bad sentens .)

Thanx
 
Old 12-23-2004, 01:24 PM   #5
bm17
Member
 
Registered: Sep 2004
Location: Santa Cruz, CA, USA
Distribution: Redhat 9.0
Posts: 104

Rep: Reputation: 15
xxx.com? So you are a pornographer! (Just kidding)

You can put lan.xxxx.com in a seperate zone file. I'm not sure what the commands are for restricting access to that zone. I just wanted to point out that hiding the names will not prevent people from communicating with those machines.
 
Old 12-23-2004, 01:30 PM   #6
xedios
Member
 
Registered: May 2004
Location: SLO
Distribution: RH9
Posts: 70

Original Poster
Rep: Reputation: 15
Ok .. thanx

jest but it's inaf to tide the names

so if you do nslookup myname.lan.mydom.com you wont get a ip adress
bysicli you cant ping that adres becouse it is behind a NAT firewall so no matters
I just wish to nerow down the posibilities.

BY

Goog joke
 
Old 12-23-2004, 01:59 PM   #7
xedios
Member
 
Registered: May 2004
Location: SLO
Distribution: RH9
Posts: 70

Original Poster
Rep: Reputation: 15
Here is the solution
The bold text its what you need !!!

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

zone "0.0.127.in-addr.arpa" {
type master;
file "named.local";
};

zone "xxx.com" {
notify no;
type master;
file "named.forward";
};
zone "lan.xxx.com" {
notify no;
type master;
file "named.lan.xxx.com";

allow-query { xxx.xxx.x.x/xx;localhost; };
allow-transfer { xxx.xxx.x.x/xx; localhost; };

};

zone "x.xxx.xxx.in-addr.arpa" {
notify no;
type master;
file "named.xx.xxx.xxx";

allow-query { xxx.xxx.xx.x/xx;localhost; };
allow-transfer {xxx.xxx.x.x/xx; localhost; };

};
zone "xxx.xxx.xxx.in-addr.arpa" {
notify no;
type master;
file "named.xxx.xxx.xxx";
};
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
DNS Configuration skecs Linux - Networking 10 11-17-2004 08:31 AM
DNS Configuration DoubleOTeC Linux - Networking 3 09-27-2004 12:18 PM
DNS configuration? existo Slackware 1 01-30-2004 12:43 PM
DNS Configuration jojogeorge Linux - Software 3 09-23-2003 06:01 AM
DNS configuration how to jdevanand Linux - Networking 7 02-16-2002 10:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration