Fork me on GitHub

linux服务之dns

安装dig工具

[root@cu-app-107 ~]# cat /etc/redhat-release
CentOS Linux release 7.5.1804 (Core)

[root@cu-app-107 ~]# yum install bind-utils

 

 

=================================

linux下得到出口ip
curl http://members.3322.org/dyndns/getip
curl ifconfig.me,这个太慢了
curl cip.cc
curl ip.cip.cc
telnet cip.cc
ftp cip.cc

 

================================

[root@localhost ~]# curl cip.cc
IP : 111.18.94.170
地址 : 中国 陕西 移动

数据二 : 中国 | 移动

数据三 : 中国陕西省西安市 | 移动

URL : http://www.cip.cc/111.18.94.170

 

posted on 2019-07-12 18:26  阳光-源泉  阅读(154)  评论(0编辑  收藏  举报

导航