#192.168.56.1 is the default gateway (vboxnet0 address of the host machine) #208.67.222.222 and 208.67.220.220 are DNS addresses (www.linuxidc.com uses OpenDNS here) dhcp-option = vboxnet0, option: dns-server, 192.168.56.1, 208.67.222.222, 208.67.220.220 #192.168.56.2 and 192.168.56.254 are allocated address ranges # infinite indicates IP address never expires dhcp-range = vboxnet0, 192.168.56.2, 192.168.56.254
Restart dnsmasqsudo service dnsmasq re
installed after it is completed.ServerEnd program.
Configure IP address range
Edit/etc/pptpd. conf and add the following address at the end:
Localip 192.168.0.1
Remoteip 192.168.0.234-238,192.168 .0.245
Set the IP address range andServer.
Add a user
Edit/etc/ppp/chap-secrets and add similar entries below:
Username pptpd password *
The asterisk is used to allow connection from any IP address. if you want to set an IP address separately.
Restart pptpd
#/Etc/init. d/pptpd restar
Theoretically, a v
. This command requires BusyBox. Please install it earlier.' Rmnet0 ' is the interface name for the 3G connection. Net.rmnet0.dns1 and Net.rmnet0.dns2 is the properties to being changed to point to OpenDNS server. Since, these properties was changed after the connection was established, NET.DNS1 and Net.dns2 also had to be changed.Execute these commands as root User:setprop net.rmnet0.dns1 208.67.222.222. SetProp net.rmnet0.dns2 208.67.220.220. SetPro
1. frist, make sure you have PPP installed
Yum install-y PPP iptables
Yum install Perl
2. Download lastest version pptpd RPM package
Wget http://acelnmp.googlecode.com/files/pptpd-1.3.4-1.rhel5.1.x86_64.rpm
3. Installing the RPM
Rpm-IVH pptpd-1.3.4-1.rhel5.1.i386.rpm
4. open the file/etc/PPP/options.ppt PD
VI/etc/PPP/options.ppt PD
Uncomment the MS-DNS lines (by removing the '#' in front of them) and change them to the DNS servers provided by your ISP or to public DNS servers l
nationwide, which may lead to slow web pages.
After the DNS server address is changed to public DNSAccelerate domain name resolution,Prevent DNS hijacking,Enhanced Internet Security, You can alsoShield most carrier advertisements. Below are several common public DNS server addresses:
Name
DNS Server IP Address
Openerdns
42.120.21.30
Alidns
223.5.5.5
223.6.6.6
V2ex DNS
199.91.73.222
178.79.131.110
CNNIC SDNs
1.2.4.8
210.2.4
Domain name resolution server-openerdns
Openerdns is a "high-speed, secure, and free" domain name resolution server for common Internet users in China. Are you still using Google DNS or opendns? Are you constantly changing the host file? Switch to: openerdns address: 42.120.21.30
Why use openerdns:
Security:We guarantee the authenticity of the resolution data, and the domain name will not be contaminated. Are you still using 8.8.8.8? Now switch to 42
interner Protocol (TCP/IP). Instead of Automatically Obtaining DNS, select "Use the following DNS server address ", the preferred DNS server and the backup DNS server are set to 8.8.8.8.8 and 8.8.4.4 respectively, as shown in. After you connect to the Internet, you can get rid of DNS hijacking by the service provider.
Google DNS Server
Today, Google gave us another surprise and hit opendns heavily. They just announced that they would provide all In
PART I
========================================================== ==============
This article is based on ubutnu to install,
Previous achievements, the establishment of freeradius and mysql (http://www.cnblogs.com/klobohyz/archive/2012/02/01/2334811.html)
Continue to combine pptp components to verify the form VPN, and start to install pptp below
apt-get install pptpd
Configure pptpd. conf
vim /etc/pptpd.conf
Add the following content to the bottom of the file
localip 10.10.10.1remoteip 10.10.10.
support from the PPP and iptables software. Here, yum is used for installation,
Enter this command: YumInstall-y PPP iptables
AveragePPP is installed by default in centos.
2. Install PPTP
Installation Package http://poptop.sourceforge.net/yum/stable/packages/Select the latestWget http://poptop.sourceforge.net/yum/stable/packages/pptpd-1.3.4-2.rhel5.x86_64.rpm
If wget is invalid, yum install-y wget
Rpm-IVH pptpd-1.3.4-2.rhel5.x86_64.rpm
3.Configure PPTP
VI/Etc/PPP/options.ppt PD
Edit MS-DNS, A
There are many web pages that can be accessed by QQ. In this case, Ping www.baidu.com or ping www.baidu.com, which may cause DNS problems, you can open the webpage with another one.
Below are a series of sorted DNS lists
Let's give you two DNS services provided by open foreigners first.
Google ::
8.8.8.8
8.8.4.4
Opendns ::
208.67.222.222
208.67.220.220
Below is the DNS list of each province. before using the DNS list, you 'd better ping the DNS to
In August December, Google launched a new network service Google public DNS, allowing users to use Google servers for free to resolve network domain names, primarily to speed up browsing. However, for most common Internet users, DNS is completely unknown, not to mention how fast the server can be configured or tested.
Now, Google has released a DNS speed measuring tool named namebench, developed by Google engineers to help users find the fastest and most effective DNS, the fastest speed under t
network.
If the mobile phone is connected to the wireless network created, but cannot open the Web page, the first computer installed all the protection software temporarily shut down or temporarily stop protection, and then open the "Control Panel"---"System and Security"---"Windows Firewall", click on the left "turn on or off Windows Firewall", This is temporarily set to shut down, and then the phone will reopen the web attempt.
If the mobile phone QQ can send and re
The way to solve this problem is to set up a DNS server to resolve a number of previously introduced methods
We click on the Apple Phone "set---Wi-Fi---the right small tip i---change DNS" as shown in the following image, and then we fill in the inside I write the DNS is OK OH.
Here I recommend a few good DNS server, in fact, the best is 8.8.8.8 and 114.114.114.114 oh.
Then there are some good DNS servers that you can try.
opendns:208.67.222.222
Open NuGet and find another problem: failed to resolve this remote name: ' nuget.org '.Entering http://nuget.org in the browser will find it impossible to open.On the cmd command line, enter: Nslookup nuget.org is usually the IP address that cannot be resolved to this domain name.However, in the cmd command line input: nslookup nuget.org 8.8.8.8 to Google's DNS query this domain name, you can correctly return the domain name corresponding IP address.Why is the DNS server that is automatically ob
DNS can complete the resolution of the Domain Name service, is a tour of the network "traffic Arteries", so many network operators take the opportunity to implant ads in order to win private interests, many users have to switch to a third-party DNS server. But now third-party DNS services are often affected by a variety of interference, so how to solve it?
Setting parameters for a self-built DNS server
The easiest way to solve the above problem is to build a DNS server on the local computer sy
Control Panel---"System and Security"---"Windows Firewall", click on the left "turn on or off Windows Firewall" This is temporarily set to shut down, and then the phone will reopen the web attempt.
5. If the mobile phone QQ can send and receive messages, but cannot open the Web page, other applications can not be networked, perhaps the computer system DNS service is abnormal, you can in the "Change adapter settings" in the "Ethernet" or "Broadband connection" (depending on the way
Here are some of the potential factors that affect crawl efficiency (official translation):
1) DNS Settings2 The number of your reptiles, too much or too little3) Bandwidth Limit4 The number of threads per host5 The distribution of URLs to crawl is uneven6) High Crawl latency in robots.txt (usually occurs at the same time as the distribution of URLs)7 There are a lot of slow pages (usually with uneven distribution at the same time)8 to download too much content (PDF, large HTML page, usually and
Add writable permissions to other users:Chmod-r A+w/var/spool/mail Switch to test userAdd environment variable: path= $PATH:/usr/exim/binExecute command: EXIM-BV[Email protected] ~]$ Exim-bvexim version 4.89 #4 built 31-aug-2017 13:26:24copyright (c) University of Cambridge, 1995 -(c) The Exim maintainers and contributors in acknowledgments file, 2007-2017berkeley Db:berkeley DB 4.7.25: (Octo ber) Support For:iconv () DNSSEC Event prdrlookups (built
Restart namedOptions {listen-on Port: (any;}; # for all interface open the port Listen-on-v6 Port 53 {:: 1;};Directory "/var/named";Dump-file "/var/named/data/cache_dump.db";Statistics-file "/var/named/data/named_stats.txt";Memstatistics-file "/var/named/data/named_mem_stats.txt";allow-query {any;}; # # Answer all the questions forwarders {172.25.254.250;}; # # Ask an IP that can connect with the outside world . I don't know, who am I to ask. dnssec
for the DNS server, basically the query information generated every day is enough. So, we can customize a log system specifically for the purpose of storing DNS-related information.Defines the log system for DNS, which needs to be defined in the DNS configuration file.Where catagory is used to define the source of the log, these log sources are:default defines default channel for categories General catch-all category for unclassified messagesClient Client Request ProblemsConfig Configuration fi
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.