2011-09-09 04:49:35 +00:00
|
|
|
start:makedns_h
|
|
|
|
description:help
|
|
|
|
cmd:makedns -h
|
|
|
|
check:rc==0
|
|
|
|
cmd:makedns --help
|
|
|
|
check:rc==0
|
|
|
|
check:output=~Usage
|
|
|
|
end
|
|
|
|
|
|
|
|
start:makedns_v
|
|
|
|
description:version
|
|
|
|
cmd:makedns -v
|
|
|
|
check:rc==0
|
|
|
|
check:output=~Version
|
|
|
|
end
|
|
|
|
|
2012-02-23 03:13:44 +00:00
|
|
|
start:makedns_d_node
|
|
|
|
description:makedns -d nodename
|
|
|
|
cmd:makedns -n
|
2011-09-09 04:49:35 +00:00
|
|
|
check:rc==0
|
2012-10-17 02:42:16 +00:00
|
|
|
cmd:nslookup $$CN
|
|
|
|
check:output!~(server can't find $$CN)
|
|
|
|
cmd:makedns -d $$CN
|
2012-02-23 03:13:44 +00:00
|
|
|
check:rc==0
|
|
|
|
check:output=~(Completed updating zones)
|
2012-10-17 02:42:16 +00:00
|
|
|
check:output=~(DNS setup is completed)
|
|
|
|
cmd:nslookup $$CN
|
|
|
|
check:output=~(server can't find $$CN)
|
2011-09-09 04:49:35 +00:00
|
|
|
end
|
|
|
|
|
2012-02-23 03:13:44 +00:00
|
|
|
start:makedns_node
|
|
|
|
description:makedns nodename
|
2012-10-17 02:42:16 +00:00
|
|
|
cmd:makedns -d $$CN
|
|
|
|
check:rc=0
|
|
|
|
cmd:nslookup $$CN
|
|
|
|
check:output=~(server can't find $$CN)
|
|
|
|
cmd:makedns $$CN
|
2011-09-09 04:49:35 +00:00
|
|
|
check:rc==0
|
2012-10-17 02:42:16 +00:00
|
|
|
check:output=~(Completed updating zones)
|
|
|
|
check:output=~(DNS setup is completed)
|
|
|
|
cmd:nslookup $$CN
|
|
|
|
check:output!~(server can't find $$CN)
|
2011-09-09 04:49:35 +00:00
|
|
|
end
|
|
|
|
|
2012-02-23 03:13:44 +00:00
|
|
|
|
|
|
|
|
2011-09-09 04:49:35 +00:00
|
|
|
start:makedns_n
|
2012-10-17 02:42:16 +00:00
|
|
|
description:makedns
|
|
|
|
cmd:makedns -d $$CN
|
|
|
|
cmd:nslookup $$CN
|
|
|
|
check:output=~(server can't find $$CN)
|
2011-09-09 04:49:35 +00:00
|
|
|
cmd:makedns -n
|
|
|
|
check:rc==0
|
2012-10-17 02:42:16 +00:00
|
|
|
check:output=~(Completed updating zones)
|
|
|
|
check:output=~(DNS setup is completed)
|
|
|
|
cmd:nslookup $$CN
|
|
|
|
check:output!~(server can't find $$CN)
|
2011-09-09 04:49:35 +00:00
|
|
|
end
|
|
|
|
|
2012-02-23 03:13:44 +00:00
|
|
|
|
2011-09-09 04:49:35 +00:00
|
|
|
start:makedns
|
2012-10-17 02:42:16 +00:00
|
|
|
description:makedns
|
2011-09-09 04:49:35 +00:00
|
|
|
os:Linux
|
2012-10-17 02:42:16 +00:00
|
|
|
cmd:makedns -d $$CN
|
2011-09-09 04:49:35 +00:00
|
|
|
check:rc==0
|
2012-10-17 02:42:16 +00:00
|
|
|
cmd:nslookup $$CN
|
|
|
|
check:output=~(server can't find $$CN)
|
2011-09-09 04:49:35 +00:00
|
|
|
cmd:makedns
|
|
|
|
check:rc==0
|
2012-10-17 02:42:16 +00:00
|
|
|
check:output=~(Completed updating zones)
|
|
|
|
check:output=~(DNS setup is completed)
|
2011-09-09 04:49:35 +00:00
|
|
|
cmd:service named stop
|
|
|
|
cmd:service named start
|
2012-10-17 02:42:16 +00:00
|
|
|
cmd:nslookup $$CN
|
|
|
|
check:output!~(server can't find $$CN)
|
2011-09-09 04:49:35 +00:00
|
|
|
end
|
|
|
|
|