Skip to content

Instantly share code, notes, and snippets.

@Stealthii
Created May 5, 2015 13:52
Show Gist options
  • Save Stealthii/bb04ad614463df8185bf to your computer and use it in GitHub Desktop.
Save Stealthii/bb04ad614463df8185bf to your computer and use it in GitHub Desktop.
PFsense custom unbound rules
###
# Companyname Custom config
###
## LANcache config ##
server:
# Steam
local-zone: "steampowered.com." transparent
local-data: "content1.steampowered.com. IN A 10.83.3.31"
local-data: "content2.steampowered.com. IN A 10.83.3.31"
local-data: "content3.steampowered.com. IN A 10.83.3.31"
local-data: "content4.steampowered.com. IN A 10.83.3.31"
local-data: "content5.steampowered.com. IN A 10.83.3.31"
local-data: "content6.steampowered.com. IN A 10.83.3.31"
local-data: "content7.steampowered.com. IN A 10.83.3.31"
local-data: "content8.steampowered.com. IN A 10.83.3.31"
local-zone: "cs.steampowered.com" redirect
local-data: "cs.steampowered.com IN A 10.83.3.31"
local-zone: "hsar.steampowered.com.edgesuite.net" redirect
local-data: "hsar.steampowered.com.edgesuite.net IN A 10.83.3.31"
local-zone: "clientconfig.akamai.steamstatic.com" redirect
local-data: "clientconfig.akamai.steamstatic.com IN A 10.83.3.31"
# Riot
local-zone: "riotgames.com." transparent
local-data: "l3cdn.riotgames.com. IN A 10.83.3.32"
# Blizzard
local-zone: "edgesuite.net." transparent
local-data: "dist.blizzard.com.edgesuite.net. IN A 10.83.3.33"
local-zone: "blizzard.com." transparent
local-data: "llnw.blizzard.com. IN A 10.83.3.33"
local-data: "dist.blizzard.com. IN A 10.83.3.33"
# Hirez
local-zone: "internapcdn.net." transparent
local-data: "hirez.http.internapcdn.net. IN A 10.83.3.34"
# Origin
local-zone: "ea.com." transparent
local-data: "akamai.cdn.ea.com. IN A 10.83.3.35"
# Sony
local-zone: "sony.com." transparent
local-data: "pls.patch.station.sony.com. IN A 10.83.3.36"
###
# Companyname Custom Config
###
include: {$g['unbound_chroot_path']}/company_custom.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment