본문 바로가기

3-5. Networks

DNSEver


[root]# cat >> /root/bin/DNSEver.sh
#/bin/sh
/usr/bin/wget -O - --http-user=UID --http-passwd=[승인번호] "http://dyna.dnsever.com/update.php?host[도메인]"


[root]# crontab -e
*/5 * * * * /bin/sh /root/bin/DNSEver.sh > /dev/null 2>&1


[root]# vi /etc/rc.d/rc.local
/bin/sh /root/bin/DNSEver