Comparison

plugins/mod_admin_telnet.lua @ 6311:f44876548487

mod_admin_telnet: Fix dns:(add,set)nameservers()
author Kim Alvefur <zash@zash.se>
date Fri, 25 Jul 2014 13:59:17 +0200
parent 6064:c4a3222165c4
child 6312:1940a014aeca
child 6380:4220ffb87b22
comparison
equal deleted inserted replaced
6310:d232bb1bbe1e 6311:f44876548487
1056 adns.lookup(handler, name, typ, class); 1056 adns.lookup(handler, name, typ, class);
1057 return true, ret; 1057 return true, ret;
1058 end 1058 end
1059 1059
1060 function def_env.dns:addnameserver(...) 1060 function def_env.dns:addnameserver(...)
1061 dns.addnameserver(...) 1061 dns._resolver:addnameserver(...)
1062 return true 1062 return true
1063 end 1063 end
1064 1064
1065 function def_env.dns:setnameserver(...) 1065 function def_env.dns:setnameserver(...)
1066 dns.setnameserver(...) 1066 dns._resolver:setnameserver(...)
1067 return true 1067 return true
1068 end 1068 end
1069 1069
1070 function def_env.dns:purge() 1070 function def_env.dns:purge()
1071 dns.purge() 1071 dns.purge()