Register static IP HP Printer in DNS Automatically

Posted on 2012-08-12
Last Modified: 2015-10-09
I have about 75 Printers ( Majority HP Laserjet P4015 ) throughout my organization. I cannot ping these printers by Printer name because they are not registered in DNS.

I can manually add these printers but then with anby changes DNS would need to be manually updated.

I am also planning on changining the IP adddress of some of these printers in the near future.

How can I add these printers to DNS ?

I am on a 2008 R2 Active directory environment
my print server is a 2008 R2 server
Question by:Ekuskowski
    LVL 8

    Expert Comment

    Not necessary use DNS ,  your print server should already able to address them.

    Enable SNMP proctocol , or using the printer mautifactor untily that collects those broadcast will able to centralisex them.

    Author Comment

    I don't understand ,  If the Printer name is not on my DNS server how could my computer possibly resolve the name to the ip address,  if my computer looks to my DNS server for name resolutions ?

    The printers have SNMP enabled and Im nut sure what printer manufacturer utility you are talking about.

    Can you be more specific ?

    LVL 25

    Accepted Solution

    Since you're in an AD domain, it's likely that your DNS zones are AD-integrated and configured to accept secure dynamic updates only.  This is the recommended configuration for security reasons, but it means that machines on the network which aren't domain members cannot register records in DNS.  Your printers aren't domain members unless there's some sort of AD client functionality built into them, which seems unlikely.

    You've got two options that I can think of:

    1.  Configure the appropriate forward lookup zone to accept secure and nonsecure dynamic updates.  This is the simplest solution, but it's not ideal from a security perspective.

    2.  If you have a Windows-based DHCP server that's a member of the domain, you can configure it to register DNS records on behalf of clients, then set those printers to use DHCP to obtain their IP addresses.  You can create reservations for them to ensure that they always have the same IP addresses, if you wish, although that will entail a bit of work, as you'll need to input the MAC address and desired IP address of each one.

    Author Closing Comment

    Considering this is the first time in six years that I have needed / wanted to ping a printer by name,  I'll just leave well enough alone. I do not want to set the printers to use DHCP and I also do not want to lessen my security in any way.  So for now I'll ping by IP address.

    Expert Comment

    I feel the same way you do, Ekuskowski.
    I wanted to be able to ping by hostname, but never really had a reason to.
    The only advantage is some of my printer notifications have a link which directs to the host name of the printer instead of the IP address, so clicking on them only errors out.
    You can manually create the A records in your DNS, since you only have about 75, that isn't too much work,

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Do You Know the 4 Main Threat Actor Types?

    Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

    Occasionally you run into the website or two that will not resolve properly using your own DNS servers.  Some people simply set up global forwarders for their DNS server.  I don’t recommend doing this because it can cause problems resolving addresse…
    I've written instructions for one router type, but this principle may be useful for others of the same brand and even other brands of router. Problem: I had an issue especially with mobile devices that refused to use DNS information supplied via…
    This video is in connection to the article "The case of a missing mobile phone (". It will help one to understand clearly the steps to track a lost android phone.
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    761 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

    11 Experts available now in Live!

    Get 1:1 Help Now