2

In Windows one can run

ipconfig /registerdns
and this refreshes all Dynamic Host Configuration Protocol (DHCP) address leases and registers all related domain names that the client computer configures and uses with the dynamic DNS server.

What's the command for doing the same thing(s) in Linux?

  • There isn't one. – roaima Dec 2 '16 at 22:03
0

The command is "dhclient"

The DHCP client in Linux is called dhclient. It requests dynamic IP addresses from the DHCP server, which "leases" addresses to clients for a set amount of time. dhclient can be invoked manually to "release" the client's currently assigned IP address, and get another address from the DHCP server.

  • 1
    runnig dhclient command itself direclty will solve this?? or do we need to add anything – saidesh Dec 2 '16 at 7:12
  • yes. it will "release" the client's currently assigned IP address, and get another address from the DHCP server – Rituraj Dec 5 '16 at 5:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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