September 10, 2016

How to force Google Safe Search - Microsoft AD DNS

Forcing safe-search for Google is very simple, and pretty hard to turn off. Couple it together with filtering DNS queries and you’ve got yourself a pretty robust content filter.
First I’m going to show you the powershell way, then I will show you the GUI way.

add-dnsserverprimaryzone -ReplicationScope Forest -Name www.google.com -Verbose
Add-DnsServerResourceRecord -DName -ZoneName www.google.com -name "@" -DomainNameAlias forcesafesearch.google.com -Verbose
Add-DnsServerResourceRecordA -IPv4Address 216.239.38.120 -name "@" -ZoneName www.google.com -Verbose
As you can see the powershell way is the preferred method.
Here’s how to do it the GUI way:
Open up AD DNS or just type dnsmgmt.msc in a RUN box.
Add a new primary zone, replicated to the whole forest for “www.google.com”
Now go to the zone, and create a A record pointing to “216.239.38.120”.
Now right click and create ” other new records…” we’ll select DNAME.
Now add “forcesafesearch.google.com” as the FQDN, leave alias name blank.
Now flush your DNS and test it out!


if we try to turn safesearch off via the settings, it does not work!!!
Same result.


Enjoy.

References: http://techstat.net/microsoft-ad-dns-how-to-force-google-safe-search/


http://www.slideshare.net/laonap166/how-to-force-google-safe-search

Related Posts:

  • MCSA 2012 Domain Network Tiếp theo seri “Tự học MCSA”, chúng ta sẽ cùng tự học bài “Domain Network”. Chuẩn bị: Server: 2012may1, 2012may2 (hoặc 1 client chạy window 8). Đặt IP cho 2 máy. Khi xây dựng 1 hệ thống mạng, quản lý các đối tượng, ta có … Read More
  • MCSA 2012 Domain Network – Home Folder và User Profile Tiếp tục với chủ đề Domain Network, mình xin trình bày bài ” Home Folder và User Profile”. Thứ tự các bài viết của mình đều giống thứ tự các bài học của trung tâm và lượng kiến thức  thì ít nhất là bằng với các TT. Các … Read More
  • MCSA 2012 Domain Network – Thuộc tính User và Group Tiếp tục với seri ” Tự học MCSA 2012″ mình sẽ đề cập đến các thuộc tính thường dùng của user, group và Delegate Control trong. Chuẩn bị: 1 máy server 2012: 2012may1. Thuộc tính của user:dsa.msc -> chọn user và Properti… Read More
  • MCSA 2012 Domain Network – Group Policy Object – Phần 1 Chào các bạn, hôm nay tiếp nối seri ” Tự học MCSA 2012″ mình xin được trình bày các vấn đề về Group Policy Object Chuẩn bị: máy DC: 2012may1 IP: 192.168.2.100/24 1 máy computer member domain: 2012may2 192.168.2.… Read More
  • MCSA 2012Domain Network – Group Policy Object – Phần 2 Mỉnh đã trình bày Group Policy Object cơ bản ở Phần 1. Ở phần 2 mình xin trình bày chi tiết các thuộc tính của GPO Chuẩn bị– Xem cách chuẩn bị của Phần 1. – Cấu hình Policy: GPO 1, 2, 3, 4, 5 như Phần 1. Tình hu… Read More

0 comments:

Post a Comment