joe jiang (
joe_jiang
) wrote,
@
2007
-
03
-
01
17:11:00
ns3322
#!/usr/bin/perl
$address= `dig 3322.org|grep ^ns1`;
@ary=split /\s+/, $address;
system(qq(sed -i '1inameserver $ary[-1]' /etc/resolv.conf));
# this script is used to add ns1.3322.org as your 1st name server
(
Post a new comment
)
Explore LJ
Life
Entertainment
Music
Culture
News & Politics
Technology
Post to Journal
Interest
Region
Site & User
FAQ
Email
IM Info
Username:
Create an Account
Forgot your login or password?
Login w/ OpenID
Password:
Remember Me
English • Español • Deutsch • Русский…