摘要: 本文主要用来讲解域名解析的三种方式,分别为: dig查询dns解析 host命令 nslookup域名查询 一、dig查询dns解析 一般来说linux下查询域名解析有两种选择,nslookup或者dig,而在使用上我觉得dig更加方便顺手。如果是在debian下的话,只要装上dnsutils这个包 阅读全文
posted @ 2019-10-30 11:49 酒剑仙* 阅读(1269) 评论(0) 推荐(0) 编辑
摘要: iptables是组成Linux平台下的包过滤防火墙,与大多数的Linux软件一样,这个包过滤防火墙是免费的,它可以代替昂贵的商业防火墙解决方案,完成封包过滤、封包重定向和网络地址转换(NAT)等功能。在日常Linux运维工作中,经常会设置iptables防火墙规则,用来加固服务安全。 iptabl 阅读全文
posted @ 2019-10-30 10:25 酒剑仙* 阅读(1166) 评论(0) 推荐(1) 编辑
摘要: iptables 安装 yum install iptables iptables 规则清除 iptables -F iptables -X iptables -Z 开放指定的端口允许本地回环接口(即运行本机访问本机) iptables -A INPUT -s 127.0.0.1 -d 127.0. 阅读全文
posted @ 2019-10-30 09:39 酒剑仙* 阅读(293) 评论(0) 推荐(1) 编辑