Dns fail disable when inactive fix v3

Old one is #131