ipconfig /registerdns for osx?

Is there a similar command to wintel's "ipconfig /registerdns" for OS X?

Posted on Jan 28, 2008 3:33 PM

Reply
3 replies

Feb 2, 2008 11:02 PM in response to Phych

Well, there is actually an ipconfig CLI command! ( man ipconfig tells you all about it.) The command

sudo ipconfig set en0 DHCP (case is important---'DHCP' not 'dhcp')

will do a DHCP lease renew, with all the attendant DNS renewing. I imagine that there is a more direct way to do what you want using dscl, the Directory Services command line interface (again,

man dscl

for details).

What is the problem that you are you trying to solve?

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

ipconfig /registerdns for osx?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.