-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
- HP Community
- Printers
- Printer Wireless, Networking & Internet
- How do I set the Preferred DNS Address on an offline HP Colo...

Create an account on the HP Community to personalize your profile and ask a question
07-28-2023 09:55 AM
I'm setting up a new HP Color LaserJet Pro M255dw. I was able to manually set an IPv4 address, subnet mask, and default gateway using the touchscreen. but I do not see a way to set a Preferred DNS Address, Alternate DNS Address, or WINS Server. Unless I can set these values, I can not get the printer onto our network. Since the printer is offline, using a web interface is not possible.
Solved! Go to Solution.
Accepted Solutions
07-31-2023 01:55 PM
Treeko,
Thank you for your response. Your link was not applicable to my situation, but I was able to resolve the problem myself by following these steps:
- First, I turned on Wi-Fi Direct on the printer as described in Step One in "HP LaserJet Pro - Set up HP Wi-Fi Direct printing". Once it was running, I used the printer's touchscreen to get the Wi-FI Direct IP address and password.
- Next, using a laptop, I connected to the printer's Embedded Web Server (EWS) domain as described in the second half of Step Two of the above link.
- Once connected to the EWS, I was able to set the DNS and WINS server IP addresses using the "Network Identification" section under "TCP/IP Settings" as described in Chapter 4 of "Configuration Guide Using the Embedded Web Server (EWS)". I should mention that my changes were not displayed until I plugged in the Ethernet cable and the printer then turned on IPv4.
Hopefully, this detailed procedure will be helpful to anyone else in the same situation.
07-31-2023 10:01 AM
Hi @LHouk
Welcome to HP Support Community.
Thank you for posting your query, I will be glad to help you.
I see that you are facing connectivity issues.
Kindly refer to the steps on this link and let me know if that fixes the issue.
Please click “Accepted Solution” if you feel my post solved your issue, it will help others find the solution. Click the “Kudos/Thumbs Up" on the bottom right to say “Thanks” for helping!
I hope this helps.
Take care and have a good day.
Treeko
HP Support
I am an HP Employee
07-31-2023 01:55 PM
Treeko,
Thank you for your response. Your link was not applicable to my situation, but I was able to resolve the problem myself by following these steps:
- First, I turned on Wi-Fi Direct on the printer as described in Step One in "HP LaserJet Pro - Set up HP Wi-Fi Direct printing". Once it was running, I used the printer's touchscreen to get the Wi-FI Direct IP address and password.
- Next, using a laptop, I connected to the printer's Embedded Web Server (EWS) domain as described in the second half of Step Two of the above link.
- Once connected to the EWS, I was able to set the DNS and WINS server IP addresses using the "Network Identification" section under "TCP/IP Settings" as described in Chapter 4 of "Configuration Guide Using the Embedded Web Server (EWS)". I should mention that my changes were not displayed until I plugged in the Ethernet cable and the printer then turned on IPv4.
Hopefully, this detailed procedure will be helpful to anyone else in the same situation.