Factor nameerror out in an function
Factor nameerror out in an function

weekface/skydns,nicescale/skydns,zhang0137/skydns,smarterclayton/skydns,tuannvm/skydns,skynetservices/skydns,tonicbupt/skydns,andrewrothstein/skydns,ZeaLoVe/skydns,zvelo/zvelo-skydns,AdoHe/skydns,erimatnor/skydns-kubernetes,loveshell/skydns,no2key/skydns,vinhhrv/skydns,hw-qiaolei/skydns,yonglehou/skydns,netf/skydns