XenServer – Change DNS Server IP

If you want to change the config of the nameservers in xenserver you can just edit this file.


1) login to xenserver via SSH or console

2) Type "nano /etc/resolv.conf"

3) Make changes

4) Press Crtl+W to write (Y to confirm)

5) Press Ctrl+X to exit.

Print Friendly, PDF & Email
    • Greg
    • December 27th, 2015

    Works like a charm!! Thanks.

    • Henrique Ferreira
    • February 20th, 2019

    Can I put two or more IP?

    Like:
    nameserver 192.168.0.1
    nameserver 192.168.2.1

    • Kyle Wadman
    • March 21st, 2019

    Sure.

  1. No trackbacks yet.