FQDN printer port

Posted on 2007-10-05
Last Modified: 2008-01-09
I want to set up tcpip ports on my 2003 server for printers for my remote office.
My remote offices have dynamic ip addresses.

If I put the current ip in the port box, it only works until it changes.  I do not think I can put a FQDN in the box.

If I put a printer name in the box, how is that printer name resolved?  Does it look at the lmhosts file first?  Does it look at WINS or DNS on the AD machine first?

Any ideas how to do this simply?

Question by:gsgi
    LVL 26

    Assisted Solution

    You can use free dynamic DNS services like will provide you FQDN (like and that will be automatically updated whenever systems IP changes.

    For more Info:

    There are many free dynamic DNS (DDNS) providers (you can search through google) but I have been using from the year and its simply excellent. (not marketing :) )
    LVL 12

    Accepted Solution

    If you can assign an IP to it, you can assign a name to the IP address.  Quite simply you would create a HOST record in your DNS Management Console for the IP you wished to reference.

    After that, you could then enter the Name of the printer as such:

    HOST Record: HPLJ4.mydomain.local -->

    In the port configuration settings of the Add Printer Wizard:

    Name or IP of Printer: HPLJ4.mydomain.local
    Port: IP_HPLJ4.mydomain.local


    LVL 13

    Author Comment

    I tried putting a FQDN name in the box (on W2K server, this is W2003 server if that matters) and it didn't seem to work.  So you are saying I can put a local qualified name in the box and it works?

    I was under the impression that the IP of the printer had to be numbers a.b.c.d or a name without any punctuation like myprinter400.

    can I put in the box?

    Name or IP of Printer:

    I am just confused how the box takes the .local but not the .com

    LVL 12

    Assisted Solution

    You should be able to put in a resolvable and fully qualified DNS name into the port box.

    The first step is verifying that you can resolve the DNS name.  Go to a DOS prompt on the server and do this.

    First, run NSLOOKUP  When you run this command you should see something similar to this:
    (If internet based)
    Server:  myserver.mydomain.local

    Non-authoritative answer:

    (If intranet [on your physical network] based)
    Server:  myserver.mydomain.local

    Name:    hplj4.mydomain.local

    Second, run PING  Again you should see something similar to this:
    Pinging hplj4.mydomain.local [] with 32 bytes of data:

    Reply from bytes=32 time<1ms TTL=128
    Reply from bytes=32 time<1ms TTL=128
    Reply from bytes=32 time<1ms TTL=128
    Reply from bytes=32 time<1ms TTL=128

    Now, this is making a couple of assumptions, first that you have a host record (whatever it is, bound to your printing devices IP address) and second that the host name is hplj4.  It does not have to be hplj4, it could be myprinteronnet or any other thing your heart desires.  Usually simple and to the point is better for host names.  Anywayz, if you can ping the printer by the hostname and/or aliases and you get a valid response from NSLOOKUP then you should be able to specify IP_hostname or IP_alias.

    The operating system should not matter at this point as long as it supports the standard TCP/IP port, you should be fine.

    Same goes for printers and even some print servers, if they can be assigned an IP address then you should be able to use this configuration.

    LVL 13

    Author Comment

    yes. it works.  but i did have the problem which is fixed by the solution below...


    Ars Scholae Palatinae
    et Subscriptor

    Tribus: Swiss Iguanas
    Registered: June 28, 2000
    Posts: 2426  Posted May 29, 2007 09:51     Hello everyone,

    We finally upgraded our print servers to SP2 and had a problem. I banged my head with it for about one hour and thought it would be worth reporting the solution since it's a potential problem for others:

    Symptomes: Some network printers published by a Windows 2003 SP2 server will be marked as "offline" and cease to be available. Restarting the spooler will make the printers briefly available (for 30 seconds or so) before they reset to offline status.

    Problem: MS has changed the way SNMP-enabled printer are handeled in SP2. I don't have the full detail, but apparently any printer that is marked as SNMP enabled (by the driver, I assume) will REQUIRE (by default) SNMP to be setup correctly and working on both the printer and local server (community names). Never mind if these printer all have SNMP actually disabled.

    Solution: On the properties of each printer (on the server), select the "port" tab, local the correct port, click on "configure" and uncheck "SNMP enabled". Once you click "ok" the printer's status will be instantly turned back to normal.

    Edit: I forgot to give credit to the place I actually found the solution:

    This message has been edited. Last edited by: Fulgan, May 29, 2007 11:05  
    Ars Scholae Palatinae

    Tribus: timbuktu
    Registered: December 05, 2000
    Posts: 1299  Posted May 29, 2007 22:05     Thanks for the info, I had this issue with two Dell 1815dn laser printers shared on a Win2003 R2 w/ SP2. I had to reinstall the printer and create another TCP/IP port for it to go back ONLINE. I originally thought that it was a printer issue 'cause it was really a crappy printer from the beginning. We actually have 3 of these printers so once it happens again on the third one I'll know exactly how to fix it (quicker).

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Threat Intelligence Starter Resources

    Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

    Suggested Solutions

    I guess it is not common knowledge to most Wintel engineers/administrators: If you have an SNMP-based monitoring system in your environment (and it's common to have SNMP or Syslog) it's reasonably easy to enable monitoring of the Windows Event logs,…
    ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
    It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
    This video discusses moving either the default database or any database to a new volume.

    760 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

    Need Help in Real-Time?

    Connect with top rated Experts

    8 Experts available now in Live!

    Get 1:1 Help Now