Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[solved]problem of DNS
07-10-2018, 12:38 PM (This post was last modified: 07-10-2018 03:21 PM by cchen.)
Post: #1
[solved]problem of DNS
The specification for DNS servers are problematic in HKSTP office, in the sense that many websites such as google and facebook are not accessible. This is because DNS servers specified are located in mainland China, which is inside the "great firewall".

Solution:
P1). run "sudo emacs /etc/sysconfig/network-scripts/ifcfg-br0"
P2). comment out all DNS specifications, add "DNS1=GATEWAY_ROUTER_IP_ADDRESS", eg, 192.168.1.1 for HKSTP office
P3). run "systemctl restart network".
P4). run "sudo /etc/init.d/bind restart" or reboot the machine to clear the DNS cache

many other machines such as otter and camel also have the similar problem. their DNS server specification are changed as well

RR rayluk
Find all posts by this user
Quote this message in a reply
07-10-2018, 01:35 PM
Post: #2
RE: [solved]problem of DNS
(07-10-2018 12:38 PM)cchen Wrote:  The specification for DNS servers are problematic in HKSTP office, in the sense that many websites such as google and facebook are not accessible. This is because DNS servers specified are located in mainland China, which is inside the "great firewall".

Solution:
P1). run "sudo emacs /etc/sysconfig/network-scripts/ifcfg-br0"
P2). comment out all DNS specifications, add "DNS1=192.168.1.1"
P3). run "systemctl restart network".
P4). run "sudo /etc/init.d/bind restart" or reboot the machine to clear the DNS cache

RR rayluk

When you are proposing a solution, please notice the scope of the solution. You should know that 192.168.1.1 is an internal IP and not every DNS server would be locating at 192.168.1.1.

What would happen if someone else notices this post and try to solve their problem but their DNS server is not in 192.168.1.1 ?
Find all posts by this user
Quote this message in a reply
07-10-2018, 02:21 PM
Post: #3
RE: [solved]problem of DNS
Modify as following:

comment out all DNS specifications, add (("DNS1=192.168.1.1"
->"DNS1=GATEWAY_ROUTER_IP_ADDRESS", eg, 192.168.1.1 for HKSTP office))

By the way, many other machines such as otter and camel also have the similar problem. I will change their DNS server specification as well

RR rayluk
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: