cancel
Showing results for 
Search instead for 
Did you mean: 

How to delete DNS searchDomains from command line

CoMurphy
Level 4

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.

1 ACCEPTED SOLUTION

Accepted Solutions

CoMurphy
Level 4

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!

 

View solution in original post

1 REPLY 1

CoMurphy
Level 4

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!