fixed bug
added autconfig of nameserver