Linux DNS

Posted on 1998-12-01
Last Modified: 2010-03-18
Is their a way in linux to have an entry in the dns files to look something like this IN A 8888
Question by:bryanjones
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 51

Expert Comment

ID: 1587738
Why not?
Are you angry about the numerical name?

Author Comment

ID: 1587739
I have a firewall on my network, this machine that I want 8888,, is running on port 8888 of my firewall and I want to be able to use a url instead of  When potential browsers of the net enter this URL I want them to access the httpd daemon that is on the machine inside the firewall where the database server resides.  I have tried multiple instances but everytime I try to restart named daemon it states that their is an error in the named file.  What do I need to do in order for it to be like so

database   IN  A 8888 --> using that specific port which is in my /etc/services file as a plug-gw to the database machine inside the firewall.  As of now I can access the database machine by, but I want it to be this way instead,

All the help would be greatful.. if for some reason that this question is to hard for the points that I am going to award please let me know and I will increase to what I fell the points should be.  I would rather have this question anwsered rather than fuss about points.

Accepted Solution

adrianwatkins earned 50 total points
ID: 1587740
As far as I am aware, and I think i am right on this one, DNS will only provide Name lookup, it has nothing to do with providing a port, that is controlled by the application. IE if I browse the web using the fact that I am using a web browser means port 80 by default to the address that resolves then name. IF I were sending mail, then it would be port 25. the mail and web servers conrol the port number (which they may lookup using there local /etc/services)

What I would consider is a redirecting page on another web server. Ie have a web page on a server somewhere with say a name of and have this redirect to then once here use all URLs to point to the correct port. There are possibly other ways just at this time of night I can't think of them.
Good Luck,
( 50 points is too little )

Featured Post

Manage your data center from practically anywhere

The KN8164V features HD resolution of 1920 x 1200, FIPS 140-2 with level 1 security standards and virtual media transmissions at twice the speed. Built for reliability, the KN series provides local console and remote over IP access, ensuring 24/7 availability to all servers.

Question has a verified solution.

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

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL ( and MongoDB (…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…

728 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