LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-26-2017, 01:46 PM   #31
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled

Quote:
Originally Posted by ondoho View Post
doesn't that suggest that the router provides dns?
Yes.
 
Old 01-27-2017, 05:29 PM   #32
grumpyskeptic
Member
 
Registered: Apr 2016
Posts: 435

Original Poster
Rep: Reputation: Disabled
Thanks for all the above. I have reset my modem-router's configuration file back to its factory settings, but after altering in a text editor my online username and password for my ISP, it is probably exactly the same as it was previously. It is still 293 lines long, for example.

As it is slightly more understandable to adjust the settings in the config file rather than using its GUI, I have searched for all lines that mention DNS or DHCP. (Perhaps DHCP is irrelevant, but I am ignorant about this). Here they are:

alpha set /misc/u32max_dhcp=3232236030
alpha set /misc/u8AutoDNSRELAY=1
create ppp intf ifname ppp-0 startondata mru 1500 lowif aal5-0 droute true ppoa outside usedns true extifindex 210000 inacttimeout 30 cpeipindex 1 mtu 1432
modify dhcp server cfg enable
create dhcp server pool start-ip 192.168.1.3 poolid 0 end-ip 192.168.1.65 mask 255.255.255.0
create dhcp relay intf ifname ppp-0
create dhcp relay intf ifname eth-0
create dhcp relay intf ifname usb-0

More of the config file can be seen up this thread.

Does anyone understand these config file lines and could tell me what to do to adjust them so that the DNS lookup is done with 8.8.8.8 and 8.8.4.4 please?

My IP address changes every time I log on, so I think that means I have a dynamic something.

Thanks.

Last edited by grumpyskeptic; 01-27-2017 at 05:31 PM.
 
Old 01-28-2017, 04:35 AM   #33
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6052Reputation: 6052Reputation: 6052Reputation: 6052Reputation: 6052Reputation: 6052Reputation: 6052Reputation: 6052Reputation: 6052Reputation: 6052Reputation: 6052
Quote:
Originally Posted by grumpyskeptic View Post
Does anyone understand these config file lines and could tell me what to do to adjust them so that the DNS lookup is done with 8.8.8.8 and 8.8.4.4 please?
i do not understand all, but i can say for sure that none of these lines defines a dns server.
afaiu, "create dhcp server pool start-ip 192.168.1.3 poolid 0 end-ip 192.168.1.65" refers to the dns server pool that is being presented to the connected computers, i.e. you could probably use 192.168.1.9 (or any address in the range defined) as a dns server, but where the router gets IPs resolved it doesn't say. (*)

on a side note i must say i don't understand why you so desperately want to use google's nameservers, with so many non-exploiting alternatives available.
you're probably much better off using whatever your IP provides you with.

(*) notice my frequent use of conditionals.
if you're not 100% sure, i'd suggest you not tinker with it.
unless of course that's what you want - see how far you can go with half a clue.

Last edited by ondoho; 01-28-2017 at 04:37 AM.
 
Old 01-28-2017, 11:22 AM   #34
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,082

Rep: Reputation: 7130Reputation: 7130Reputation: 7130Reputation: 7130Reputation: 7130Reputation: 7130Reputation: 7130Reputation: 7130Reputation: 7130Reputation: 7130Reputation: 7130
again, why do you think 8.8.8.8 is not in use?
 
Old 01-29-2017, 08:00 AM   #35
grumpyskeptic
Member
 
Registered: Apr 2016
Posts: 435

Original Poster
Rep: Reputation: Disabled
I have now successfully switched the DNS server, and this has survived me restarting the computer and modem-router two or three times, so problem solved. Modem-router passwords also changed.

ISPs are now required to record your internet history, but the ISP is repeatedly being hacked. Different incidents are reported in the press every few months, and this will not include the events they are not aware of or keep quiet about. In addition, I am frequently rung up by scammers due to a lot of personal details being stolen from the ISP's overseas call centre. Twice this week for example. At first the scammers spoke good english and were articulate, now they speak bad english and are inarticulate. I imagine this means the stolen details are being sold to or copied by a lot of different scammers who are trying their luck. I expect the ISPs still have ways of recording the internet history even if you don't use their DNS server. It is like the Post Office reading through every letter they deliver to you, something they have not done for two or three hundred years I imagine. I was burgled once, it is best to improve your security before being burgled rather than after.

Thanks.

Edit: Although both the command "nslookup google.com" and the command "cat /etc/resolv.conf" still return 127.0.1.1.

Last edited by grumpyskeptic; 01-29-2017 at 08:11 AM.
 
Old 01-29-2017, 08:50 AM   #36
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6052Reputation: 6052Reputation: 6052Reputation: 6052Reputation: 6052Reputation: 6052Reputation: 6052Reputation: 6052Reputation: 6052Reputation: 6052Reputation: 6052
it always baffles me how people think that using google services would actually improve their privacy....
 
Old 03-08-2017, 06:09 AM   #37
grumpyskeptic
Member
 
Registered: Apr 2016
Posts: 435

Original Poster
Rep: Reputation: Disabled
I would be happy to have my privacy details split between the ISP and the DNS, because while they would both be easily available to governments, a hacker would have to hack not just one but two separate organisations and in addition would also have to collate the millions or billions of records together.
 
Old 03-09-2017, 01:24 AM   #38
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6052Reputation: 6052Reputation: 6052Reputation: 6052Reputation: 6052Reputation: 6052Reputation: 6052Reputation: 6052Reputation: 6052Reputation: 6052Reputation: 6052
well i don't know about 8.8.4.4, but 8.8.8.8 is definitely google's nameserver.
i use opennic.
 
Old 03-09-2017, 05:41 AM   #39
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Quote:
Originally Posted by ondoho View Post
well i don't know about 8.8.4.4, but 8.8.8.8 is definitely google's nameserver.
i use opennic.
8.8.8.8 and 8.8.4.4 are the two Google public IPv4 nameservers.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Linux Mint 17.1 reviewóless change is good change LXer Syndicated Linux News 0 12-09-2014 01:30 PM
File server, print server inaccessible when change to new DNS tanveer Linux - Server 0 07-31-2007 04:21 AM
Change DNS Server IP Address s.dawood Linux - Networking 1 12-26-2006 03:26 AM
change DNS server in Debian linian Linux - Networking 3 07-29-2006 12:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration