added code for names server addressing for final project