minimum_number here is also minimal)@is the nameAnd is always set to @No other resource records in the same file can be duplicatedNameServerSpecifies the host name of the current domain name serverContact-email-addressSpecify the system administrator's email;; Name server host name is ns.abc.comThe e-mail address is kabir@abc.com (the @ of the message in the SOA record is replaced.)@ in SOA ns.abc.com. Kdent.abc.com. (1049310513; serial.10800 Refresh;3600; retry.604800; expire.900; TTL)========
have the risk of increasing the instability of the host.
Firewall Policy:
#缩短SYN-timeout Time:Iptables-a forward-p tcp--syn-m limit--limit 1/s-j ACCEPTIptables-a input-i eth0-m limit--limit 1/sec--limit-burst 5-j ACCEPT#每秒最多3个syn封包进入:Iptables-n syn-floodiptables-a input-p TCP--syn-j Syn-floodIptables-a syn-flood-p tcp--syn-m limit--limit 1/s--limit-burst 3-j returniptables-a syn-flood-jmethod Two, using Iptables anti-DDoS attack more detailed version
RH 8.0 above begins to enable iptables su
There are two mail servers 192.168.1.1 (under Windows host name b.test.cn) and 192.168.1.3 (Linux under host name is a.test.com).
Configure the DNS server under Linux, and here are some of the files that were set during the configuration process.
The specific contents of the/etc/hosts document are as follows:
# Do not remove the following line, or various programs# that require network functionality will fail.127.0.0.1 localhost.localdomain localhost fc4192.168.1.3 a.test.com a192.168.1.1 b.test
a name, you first check the local host file (hosts) and then follow the nameservers order specified by/etc/resolv.conf.Third, the host IP address, host name and alias.After editing three files for/etc/rc.d/rc.local,/etc/hosts.conf,/etc/resolv.conf, you must restart the machine.V. Concluding remarksTo sum up, as long as the use of any one of the methods, the definition of host name, host table, network interface equipment and routing parameters, confi
: 192.168.91.2
Below begins to enter the Ubuntu virtual machine to set up static IP.
Set up static IP in Ubuntu 12.04.1
1. Start the virtual machine Ubuntu system, open the terminal, use the following command to open and edit the network interface configuration file:
sudo vi/etc/network/interfaces
2. Edit the document as follows:
Auto lo
iface lo inet loopback
# Assgin static IP by Eric in 26-sep-2012 iface eth0 inet
static address
19 2.168.91.200 #change to your static IP
netmask 255.255.255
purchased", and then see the above, find the CP panel entrance.
We need to see the CP panel to the left, if it is indented, you need to click "Expand Stats" pull out, and then you can see. Here we see the shared IP address in the above image is the host IP addresses we purchased, and our domain name if a records parse this is right.
Second, we can also use DNS to resolve
This interface should be familiar to many friends, many of us are directly to see the
First we assume that the two machines, the machine name and the IP address are as follows Xcat master Hostname:xcat ip:192.168.31.102 xcat node HOSTNAME:XCAT1 ip:192.168.31.251
The specific steps are as follows: Configure XCAT basic information
Chtab key=master site.value=192.168.31.102
chtab key=domain # Depending on the circumstances, this attribute is eventually written to each node's/ The
chtab key=nameservers site.value=192.168.31.102 # in th
code is as follows
A configured virtual host that wants to be accessed by the outside world must also be registered in the DNS (domain name system--nameservers server) or Windows system, because when a URL is accessed through a browser, you need to specify the IP address of that host. To connect to the Web server by this IP
Therefore, when the virtual host configuration is complete, you also need to configure the mapping of the virtual host to the
its own buffer. The recursive query request flag is not valid at this point (see DNS header Introduction). The recursive query is shown in Figure 7-40.2) non-recursive queryThe so-called non-recursive query means that the first domain name server that receives the request can return reliable data (itself sometimes), or it can return pointers to other servers (equivalent to passing the baton of the query to the nearest nameservers). The difference bet
root server information. The server sends and receives not only your own domain information but also all the domain information on the Internet. Not every server has a registration entry for each domain name, but each server knows how to get information. Of course, because the list is updated regularly, it should be recorded regularly.
The second area entry in the Named.conf sample file is a master field entry, meaning that the DNS server holds valid information for example.com, which all othe
The company's new server is using the latest Ubuntu 12.04, colleagues and I reflect a problem, after each reboot,/etc/resolv.conf inside the set nameserver was emptied, very strange
root@ttpod:~# cat/etc/resolv.conf
# Dynamic resolv.conf (5) file for glibc resolver (3) generated by resolvconf (8)
# do don't EDIT this FILE by HAND-YOUR CHANGES'll be overwritten
root@ttpod:~#
Take a closer look and find the problem
Don't EDIT this FILE by HAND-YOUR CHANGES would be overwritten
iface eth0 inet static
address 192.168.1.122
netmask 255.255.255.0
Network 192.168.1.0
broadcast 192.168.1.255
Gateway 192.168.1.1
dns-nameservers 8.8.8.8
Dynamic Address mode
Auto eth0
iface eth0 inet DHCP
4. Set dns,vi/etc/resolv.conf, add
NameServer 8.8.8.8
5. Entry into force
sudo/etc/init.d/networking Restart
reboot
6. Testing
Ping www.baidu.com
or
wget http://www.baidu.com
You can connect to an extranet at this point, or you
First: To stop the network service
Sudo/etc/init.d/networking stop
Second: Modify the network configuration file
sudo gedit/etc/network/interfaces
If you want to set the IP manually, please copy the following code into the edited file, note: IP and other settings to modify as needed.
Auto LoIface Lo inet LoopbackAuto Eth0Iface eth0 inet ManualAuto Br0Iface br0 inet StaticAddress 192.168.200.130Network 192.168.200.0Netmask 255.255.255.0Broadcast 192.168.200.255Gateway 192.168.200.1Dns-
the root password.The following operations are performed using the root user.IP configuration for each machine:Vim/etc/network/interfacesThe contents of the change are as follows: (the words in parentheses are removed)Auto Eth0Iface eth0 inet Static (there is no DHCP dynamic, take static IP)Address 192.168.1.219 (IP address)Gateway 192.168.1.1 (Gateways address)Netmask 255.255.255.0 (Subnet mask)Dns-nameservers 192.168.1.1 (DNS resolution)To restart
resolv.conf changes directly after the effect, note, not nameservers,In addition, this configuration file is also knowledgeable, the students can be man resolv.conf view.########################### # #6) View IP, gateway or routing, DNS configuration:##########################[A. View IP configuration Method][[email protected] ~]# Ifconfig = = "Direct command name indicates all network card IPEth0 Link encap:ethernet HWaddr 00:0c:29:1d:28:d5inet addr
DNS进入 /etc/network/interfaces 在它的最后增加一句:dns-nameservers 8.8.8.8 (或者别的啥)临时修改就在 /etc/resolv.conf 中加入nameserver 8.8.8.8nameserver 8.8.4.4 (之类的)Common Operations Refresh DNSsudo apt install nscd (如果没有装的话)/etc/init.d/nscd restartRun the new NetEase cloud musicsudo netease-cloud-musicUnzip the tar.gz packagetar -xzvf ***.tar.gzView all process not related to terminalps -aProcess TreepstreeSystem process Dynamic ViewtopFind processpgrep ***Kill process by P
Method One1. Need to create a file/etc/resolvconf/resolv.conf.d/tailsudo vi/etc/resolvconf/resolv.conf.d/tail2. Write the DNS server you need in the file in the same format as/etc/resolv.confNameServer 8.8. 8.8 3. Restart the RESOLVCONF programsudo/etc/init.d/resolvconf restartThen look at the/etc/resolv.conf file and you can see that the DNS server you added is already in the fileMethod TwoIn the/etc/network/interfaces
# # #interfaces中 #######
Auto Eth0
Iface eth0 inet static
Addres
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.