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:

  • How to Enable / Disable Multiple RDP Sessions in Windows 2012How to Enable/Disable Multiple RDP Sessions in Windows 2012 By default, Windows 2012 servers allow a single Remote Desktop session. If only one session is available and you take over another person's live session, you ma… Read More
  • Windows Backup Server 2008 - Part 3 5. Backup theo lịch Khi muốn thực hiện backup file, thư mục, volume theo giờ, theo các ngày trong tuần, chọn Backup Schedule Chọn Custom Chọn Folder cần backup Chọn thời gian thực hiện backup và bao nhiêu l… Read More
  • PHÂN QUYỀN DATACHUNG PHÂN QUYỀN DATACHUNG Với yêu cầu hiện nay của công ty --> tất cả các nhân viên có nhu cầu muốn Upload tài nguyên của mình lên máy File Server vào một thư mục chung do họ tạo ra nhằm share tài nguyên lẫn nh… Read More
  • Hướng dẫn nâng cấp Active Directory 2003/2008 lên 2012 Tình huống:Cty VMBlogs VN có 2 domain controller lần lượt là dc01 (server 2003) và dc02 (server 2008 R2). dc01.vmblogs.vn (dc01 giữ tất cả 5 role Active Directory)dc02.vmblogs.vn Theo nhu cầu phát triển, công ty cần nâng c… Read More
  • Tìm hiểu Group Policy Object và các ví dụ Group policy có thể được coi là một thứ system policy (phiên bản cũ). Các chính sách này được MS phát minh ra từ Windows 2000, áp dụng được với các hệ điều hành kể từ bản windows 2000. Một số đặc điểm của Group Policy: … Read More

0 comments:

Post a Comment