Linux ARP command clears DNS cache

Source: Internet
Author: User

Overview
The ARP command is used to manage and view the kernel IPv4 network ARP cache. It can be used to add and delete records to the cache table. ARP is an abbreviation for Address Resolution Protocol (Resolution Protocol) to find the MAC address of a given IPv4 address

usage: arp [-VN] [if] [-A] [<hostname] <-display ARP cache ARP [-V] [-i <if]-D Delete arp record ARP [-VND] [if]-F [<filename>] <-add record arp from file [-V] [if]-S add record arp [-V] [if]-ds if> [netmask <nm>] Pub <-"'-        -a displays (all) hosts in a different (BSD) style-S,--set sets a new ARP record-D,--Delete deletes the specified record-V,--Verbose Show Details-N,--numeric name not resolved-I.,--device specifies a network interface (such as eth0)-D,--use-device reads the hardware address of the given unit-A,-p,--Protocol specifying protocol families-F,--fileFrom a file or/etc/read new record in ethers'- H 'Specifies the hardware address type. Default: Ether All possible hardware Types list: Ash (ASH) ether (Ethernet) ax25 (AMPR AX. -) Netrom (ampr NET/ROM) rose (Ampr Rose) arcnet (arcnet) DLCI (Frame Relay DLCI) FDDI (Fiber distributed Data Interface) Hippi (Hippi ) IrDA (IRLAP) x25 (generic X. -) eui64 (Generic eui- -)

The domain name is re-directed to the IP or you want to delete the local DNS cache to access the new ip,arp-d * Remove all DNS Caches

Linux ARP command clears DNS cache

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.