SaveNameserver with OO aproach