How to quickly make DNS modifications effective under Linux _unix Linux

Source: Internet
Author: User
How to quickly make DNS modifications effective

OS X, Chrome, and DNS

In development, the domain name is often bound to some IP, and then need to switch frequently, then in Linux how to quickly let DNS modify sound?

1. First use the Dig command query domain name corresponding to the IP has been effective

shell$ Dig grepalex.com

;; ANSWER section:
grepalex.com.3600ina66.216.100.140

2. How to be chrome, you can enter the following command on the address bar to disable the browser's DNS cache

chrome://net-internals/#dns

3. Although the browser DNS cache has failed, but the operating system may also have a layer of DNS caching, then we can use the following command to clear the OS
DNS Cache

shell$ sudo killall-hup mdnsresponder
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.