joe jiang ([info]joe_jiang) wrote,
@ 2007-03-01 17:11:00
Previous Entry  Add to memories!  Tell a Friend!  Next Entry
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



Create an Account
Forgot your login or password?
Login w/ OpenID
English • Español • Deutsch • Русский…