?
Solved

Close port 53 Solaris8

Posted on 2006-05-28
4
Medium Priority
?
532 Views
Last Modified: 2013-12-27
PORT      STATE SERVICE
53/tcp    open  domain

How to close port 53 in solaris 8?...i still can telnet into it. Tq
0
Comment
Question by:emlily
  • 2
  • 2
4 Comments
 
LVL 10

Expert Comment

by:Nukfror
ID: 16783838
Seeing port 53/tcp open on your system means that DNS is running as a service.

The easiset way is to stop DNS.  Do you need DNS running as a server on your box ?
0
 

Author Comment

by:emlily
ID: 16786775
i didnt run the dns in my box....if i remove the dns, will it disturb my internet connection? let say i still using the /etc/resolv.conf? how to remove the 53 port and close it?
0
 
LVL 10

Accepted Solution

by:
Nukfror earned 200 total points
ID: 16787140
Whether it distrubes your internet connection depends on how your /etc/resolv.conf file is setup.

To see if your DNS *client* configuration is influenced by you running a DNS server on your server, just look at your /etc/resolv.conf file.  Is the /etc/resolv.conf file contains nothing, or "127.0.0.1", or one of the physically configured IP addresses on your system, then your DNS *server* is probably either a caching-only DNS server or a full fledged authoritative server (but I doubt it from your comments).  To remove the this dependency from your DNS client configuration, you need to modify your resolv.conf to point to an external DNS server that you're allowed to use.

The DNS server is started in /etc/rc2.d/S72named on Solaris 9 and below ( are you running Solaris 10 or something lower ? )  If you running Solaris 9 or below, simply do:

cd /etc/rc2.d
sh S72named stop
mv S72named disable.S72named
(or maybe something like "mv S72named s72named")

The important thing is to make sure the capital S in frost of the file name no longer shows up in front.

BTW, the 53/tcp is specifically used by DNS servers for what's known as a zone transfer.  This is used by backup DNS servers.  Basically your make updates to the primary DNS server and it lets the backup DNS servers know that a modification was made to the DNS tables.  Port 53/tcp is used to transfer the zone information to the secondary DNS servers.  Its only used by DNS servers.  Client only used 53/udp when talking to DNS servers.
0
 

Author Comment

by:emlily
ID: 16787233
im using solaris 8...thanks for the info...going to test it now. tq
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses
Course of the Month8 days, 13 hours left to enroll

621 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question