Please, can someone give a decent, complete code example on how to use this within a script? By just throwing the super basic one line resolver replacement I ended up not getting anything (100% unresolved dns queries)