LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 11-10-2009, 05:50 PM   #1
Muscovy
LQ Newbie
 
Registered: Nov 2009
Distribution: AlexandOS 10.10
Posts: 25

Rep: Reputation: 15
Using ports in Bind9 (DNS) IPs?


Is it possible to make Bind point to a port?
 
Old 11-10-2009, 08:53 PM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,758

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
Sorry, you'll need to clarify... what are you trying to do ?
 
Old 11-10-2009, 11:39 PM   #3
Muscovy
LQ Newbie
 
Registered: Nov 2009
Distribution: AlexandOS 10.10
Posts: 25

Original Poster
Rep: Reputation: 15
I'm not very familiar with DNS. I know the generalistics of setup. I need to route the name to a specific port, not just the IP, because it's a non standard port.
 
Old 11-10-2009, 11:46 PM   #4
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,758

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
No.. dns records do not support specifying ports ... only name <=> address

cheers
 
Old 11-11-2009, 10:06 PM   #5
Muscovy
LQ Newbie
 
Registered: Nov 2009
Distribution: AlexandOS 10.10
Posts: 25

Original Poster
Rep: Reputation: 15
I need to operate out of port 82, not 80 (webserver). Is there any way I can get that working?
 
Old 11-11-2009, 10:56 PM   #6
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,269

Rep: Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028
The web server plaintext protocol http defaults to port 80 but can be amended in Apache's httpd.conf.
Similarly for Apache SSL/443.
The DNS program bind only works on port 53.

Perhaps you can clarify which program/protocol you are on about.
 
Old 11-12-2009, 12:28 AM   #7
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,758

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
The URL standard includes the port in it's definition...

Code:
[protocol]://[fqdn][:port]/[query_string]
eg.
Code:
http://www.linuxquestions.org:80/querystring
Most browsers will allow you to forget the port and they will try the default one for the protocol specified.

When running a webserver on a non-standard port you simply have to include the it when you give people the url.

You can run any daemon/service on a non-standard port but the client needs to be capable of specifying it

eg.

Code:
ssh username@myhost.mydomain.tld -p 2222
hope this helps

cheers

Last edited by kbp; 11-12-2009 at 12:30 AM. Reason: too many ports ...
 
  


Reply

Tags
bind9, dns, ports


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
Reverse DNS on Bind9 Taleya Linux - Networking 1 11-04-2009 11:39 AM
2 IPs - need to block different ports on each jchambers Linux - Security 4 05-31-2008 01:59 AM
DNS Server (BIND9) mpgram Linux - Server 1 02-22-2008 10:36 AM
APF - open ports on aliased IPs riotpunk Linux - Software 1 10-29-2007 06:38 PM
Bind9 DNS Issue b00gz Linux - Networking 10 07-15-2006 11:32 AM


All times are GMT -5. The time now is 11:14 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration