DNSmasq is a small and convenient tool for configuring DNS services and DHCP servers. It is suitable for small networks. It provides DNS resolution and optional DHCP functions, and provides the function of local cache query requests. 1. Install dnsmasq CentOS systems: Debian/Ubuntu systems: 2. Check the version of DNSmasq The following is the output, as long as it does not prompt that the command cannot be found (-bash: dnsmasq: command not found) Dnsmasq version x.xx Copyright (c) 2000-2012 Simon Kelley This software comes with ABSOLUTELY NO WARRANTY. 3. Configuration File Open the configuration file and write the configuration content according to the parameter instructions below. Press I to enter the editing mode. After making changes, press ESC to exit and enter :wq to save and exit. Configuration file parameter description : Configuration file example: To customize address resolution, create a separate configuration file: Then write the custom address parsing in the format, as shown below: Note: If this file or configuration file is modified, DNSmasq needs to be restarted for it to take effect. 4. Instructions <br />Enable DNSmasq service Stop DNSmasq Service Restart the DNSmasq service (restart is required after modifying the configuration file) 5. Uninstall DNSmasq If there are files in the /etc/dnsmasq.d directory, you need to delete this directory before uninstalling normally: Delete this directory first CentOS systems Debian/Ubuntu systems: Set DNS to your VPS IP in your PC/router/mobile device and port 53 (if any). via: https://doub.io/wlzy-32/ |
<<: SpeedyKVM: $3.8/month/2.6G memory/1TB hard disk/5TB traffic/KVM/Dallas
>>: WootHosting: $189/month/E5620/80GB memory/12TB space/unlimited traffic/Los Angeles
CeeHosting, a new hosting provider established in...
BBR, BBR2, BBR Plus, Ruisu, etc. can be installed...
Only for US students, requires a .edu email addre...
1. Introduction <br /> Micfo, an American h...
Suyun, a Chinese merchant, provides VDS and indep...
ATCLOUD.NET is an overseas hosting provider estab...
QIS.host is a foreign merchant that provides virt...
Astrahosting, an American hosting company under V...
In this magical land, climbing over the wall shou...
INXY LTD, a Cyprus merchant, was established in 2...
NatCloud Rat You Are The Lucky New Year Event Eve...
Liuyi Cloud Interconnection, a Chinese merchant, ...
EVL Gaming, LLC is an American hosting company re...
80host is a long-established Chinese business tha...
1. Introduction to SystemInPlace SystemInPlace is...