Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Possible Duplicate:
How to use DNS to redirect domain to specific port on my web server

I've set up an MX record for a local mailserver before, but I've never done this...

I want to set up my public domain (registered by Dreamhost) to accept IPP (Internet Printing Protocol) jobs and send them to the IPP LaserJet printer on my home LAN. IPP uses port 631.

What do I put in my DNS records?

share|improve this question

marked as duplicate by Chris S Jan 26 '12 at 14:53

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

add comment

2 Answers

up vote 7 down vote accepted

DNS doesn't do anything with ports, it's strictly for mapping names to IP addresses. What you need to configure is your firewall to accept connections to port 631 on your public IP and to forward those to the (presumably) internal IP address of the printer.

share|improve this answer
    
And be aware that your public ip address is likely to be at least somewhat dynamic if it's a home isp connection. I'd be considering whether you actually need to do this or if there's a better solution. –  kaerast May 29 '10 at 20:43
add comment

In his/her comment to Ward's answer kaerast makes a good point. It might be a whole lot simpler to use DynDNS or similar and print directly to your home connection. Of course we are now in the realms of Super User. not Server Fault.

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.