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.Network> DNS Delete SearchDomain .seachhere

 

However it will not let me start a line with "."

I also can no longer login via the web console so I need to have this fixed via command line.

 

 

Any help is appreciated.

  • 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!

     

1 Reply

  • 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!