I think I got the question, the command "ls -d" was on nslookup prompt executing lit
will list your dns entry. In
order not to list your host, try to edit your named.conf and put allow-transfer,
allow-query option on your zone.
Try to visit this for more info.
http://www.freebsddiary.org/dns_resources.php
HTH
Jimmy
AB Ramos wrote:
> On Wed, May 23, 2001 at 08:48:02AM +0800, Rebecca wrote:
> > how do i disable the listings of my dns records when using "ls -d"?
>
> Your question is quite vague. Correct me if I'm mistaken but I will
> re-phrase your question as: "How do I prevent local users from viewing
> the contents of '/var/named' using 'ls -d'?"
>
> It would probably be helpful if you could explain why you want to do
> this. I have the impression that you're approaching a (non-?) problem
> the wrong way. Security thru obscurity and all that...
>
> AFAIK, it's impossible to prevent users, with the proper permissions,
> from viewing the contents of _any_ directory using stock 'ls'. It
> should be possible with the use of a modified version of 'ls' (think
> lrk), though. Note that 'ls' is just _one_ way of viewing the contents
> of a directory. There are other ways like 'file', 'lsattr', etc.
>
> --
> If all the world's a stage, I want to operate the trap door.
> -- Paul Beatty
>
> __________________________________
> www.edsamail.com
>
> _
> Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
> To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]
>
> To subscribe to the Linux Newbies' List: send "subscribe" in the body to
>[EMAIL PROTECTED]
_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]
To subscribe to the Linux Newbies' List: send "subscribe" in the body to
[EMAIL PROTECTED]