Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Apple Computing Products:
macOS - Desktop Hardware
Help! How do I change my DNS server settings on router?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Feisty411" data-source="post: 1420655" data-attributes="member: 259222"><p>Thanks for replying, <strong>cradom.</strong></p><p>Something's not right. I'm so close to sorting this and it's so frustrating that I'm at this last hurdle and it won't work. I'll go through what I'm doing so far from advice given elsewhere:</p><p></p><p>In Terminal type <strong>sudo nano /etc/resolv.conf</strong></p><p><strong>Enter password</strong> </p><p><strong>Delete bad DNS servers</strong> </p><p>There are 4 lines. The last 2 are the rogue DNS servers added by the malware. The first 2 are my ISP's DNS servers that I called and asked them for. The cursor is at the beginning of the first line so I have to use the back arrow to scroll down 4 lines to the last number of the last line of rogue server then use the backspace arrow to delete the 2 lines of the bad DNS servers.</p><p><strong>Press Control - x to exit</strong> </p><p>Doing this jumps me straight into a highlighted question: "Save modified buffer (ANSWERING "No" WILL DESTROY CHANGES) ?" I'm given the highlighted options of yes, no or cancel.</p><p><strong>Then press y to save changes</strong> </p><p>Pressing y for yes jumps me straight into the highlighted line <strong>"File Name to Write: /etc/resolve.conf."</strong> I cannot come out of this highlighted line. I can only move the cursor along this line to the beginning of " /etc..." This is where the problem starts.I was advised to press y again but that only adds the letter to the line. I pressed Control - O as you advised but nothing happens - presumably because it's not one of the options below. The only options I have at this point, which are also highlighted with this line are:</p><p><strong>Control - G</strong> Get Help</p><p><strong>Control - T</strong> To Files</p><p><strong>M-D</strong> DOS Format</p><p><strong>M-O</strong> Mac Format</p><p><strong>M-A</strong> Append</p><p><strong>M-P</strong> Prepend</p><p><strong>M-B</strong> Backup File</p><p><strong>Control - C</strong> Cancel</p><p></p><p>So I only get as far as saving the file. It seems to accept the save up to a point but then it wants me to do something else. Add to the name of the file? If I do add to the file name, then press return, it jumps to <strong>"File exists, OVERWRITE ?"</strong> with the options yes, no or cancel. I don't dare choose any of them. If I try to close nano and exit I get the <strong>"closing this window will terminate the following processes inside it: login, bash, nano."</strong></p><p></p><p>I can't do anything except to close and terminate because I can't complete the process of deleting the rogue DNS servers. </p><p></p><p>What do you think? Are all the steps in this process correct?</p></blockquote><p></p>
[QUOTE="Feisty411, post: 1420655, member: 259222"] Thanks for replying, [B]cradom.[/B] Something's not right. I'm so close to sorting this and it's so frustrating that I'm at this last hurdle and it won't work. I'll go through what I'm doing so far from advice given elsewhere: In Terminal type [B]sudo nano /etc/resolv.conf[/B] [B]Enter password[/B] [B]Delete bad DNS servers[/B] There are 4 lines. The last 2 are the rogue DNS servers added by the malware. The first 2 are my ISP's DNS servers that I called and asked them for. The cursor is at the beginning of the first line so I have to use the back arrow to scroll down 4 lines to the last number of the last line of rogue server then use the backspace arrow to delete the 2 lines of the bad DNS servers. [B]Press Control - x to exit[/B] Doing this jumps me straight into a highlighted question: "Save modified buffer (ANSWERING "No" WILL DESTROY CHANGES) ?" I'm given the highlighted options of yes, no or cancel. [B]Then press y to save changes[/B] Pressing y for yes jumps me straight into the highlighted line [B]"File Name to Write: /etc/resolve.conf."[/B] I cannot come out of this highlighted line. I can only move the cursor along this line to the beginning of " /etc..." This is where the problem starts.I was advised to press y again but that only adds the letter to the line. I pressed Control - O as you advised but nothing happens - presumably because it's not one of the options below. The only options I have at this point, which are also highlighted with this line are: [B]Control - G[/B] Get Help [B]Control - T[/B] To Files [B]M-D[/B] DOS Format [B]M-O[/B] Mac Format [B]M-A[/B] Append [B]M-P[/B] Prepend [B]M-B[/B] Backup File [B]Control - C[/B] Cancel So I only get as far as saving the file. It seems to accept the save up to a point but then it wants me to do something else. Add to the name of the file? If I do add to the file name, then press return, it jumps to [B]"File exists, OVERWRITE ?"[/B] with the options yes, no or cancel. I don't dare choose any of them. If I try to close nano and exit I get the [B]"closing this window will terminate the following processes inside it: login, bash, nano."[/B] I can't do anything except to close and terminate because I can't complete the process of deleting the rogue DNS servers. What do you think? Are all the steps in this process correct? [/QUOTE]
Verification
Post reply
Forums
Apple Computing Products:
macOS - Desktop Hardware
Help! How do I change my DNS server settings on router?
Top