Forum Discussion

CoMurphy's avatar
CoMurphy
Level 4
10 years ago

How to delete DNS searchDomains from command line

Hello,   I made a very rookie mistake and added a "." before the search domains for my DNS information. I cannot resolve other hosts now.   I tried going in and removing it hostname.Netwo...
  • CoMurphy's avatar
    10 years ago

    I posted this in haste, I actually figured out how to fix this with some help from a few other admins.

     

    Here are the steps I took:

     

    login to the device via command line:

    ssh admin@host

    support

    maintenance

    elevate

    vi /etc/resolv.conf

    Remove bad DNS entries.

     

    Thanks!