Commit Graph

225 Commits (a872fabe7d8518a9d025887da70ad922251e2cf6)

Author SHA1 Message Date
Christian König a872fabe7d Validate on removal as well
3 years ago
Christian König bc21a7155d Add option to not reload
3 years ago
Christian König b7bba6a689 Validate when adding not when removing
3 years ago
DL6ER d0e8b0c962
Forward unqualified names to the CF target only when the "Never forward non-FQDN" option is NOT ticked
3 years ago
DL6ER 06fd8123c3
Also remove "rev-server" lines when rewriting 01-pihole.conf
3 years ago
DL6ER c2f3477a82
Ensure conditional forwarding will forward unqualified host names if we have no local answer for them.
3 years ago
Kenneth Chew 092e533a30
Add `-t` option to Admin Console help dialog
3 years ago
DL6ER a0d74d1e9d
Canary domain handling is now happening in FTL where we have much finer control over it.
3 years ago
Adam Warner a1d85155fd
Merge pull request #4178 from pi-hole/fix/custom_dns_removal
3 years ago
Dan Schaper 01764cc581
Explicity declare values for the RA packet.
3 years ago
DL6ER a9e761ec13
Add missing sed anchors when deleting lines.
3 years ago
Adam Warner 45d4ab4c22
Add some validation to passed arguments before running the values through `sed`
3 years ago
Christian König 78027bd2bf Add default noname if hostname is empty
3 years ago
Christian König 7dc7cbb80e Add hostname to teleporter backup file if called from cli
3 years ago
Matej Dujava ef0bdf6470 Fix validation of adlist url
3 years ago
DL6ER a217c75134
Merge pull request #3882 from pi-hole/tweak/conditional_transforms
4 years ago
Adam Warner 454c9a411c
Update advanced/Scripts/webpage.sh
4 years ago
Adam Warner f44b2f6aa3
Update advanced/Scripts/webpage.sh
4 years ago
DL6ER 49810262db
When there is a Pi-hole domain set and "Never forward non-FQDNs" is ticked, we add to tell FTL that this domain is purely local and FTL may answer queries from /etc/hosts or DHCP but should never forward queries on that domain to any upstream servers
4 years ago
Adam Warner 58bc98ca44
Update advanced/Scripts/webpage.sh
4 years ago
Adam Warner 4093959d3e
Appease stickler
4 years ago
Adam Warner 06c5fe2a89
Set REV_SERVER_CIDR in the else condition if it is not in-addr.arpa
4 years ago
Adam Warner 6cb8f3f403
Add some comments
4 years ago
Adam Warner e004d27b28
Fix processing of CONDITIONAL_FORWARDING_REVERSE
4 years ago
Adam Warner 1c2c10c4a5
Merge pull request #3761 from BastiG/development
4 years ago
DL6ER 50100017a5
Merge pull request #3794 from pi-hole/security/non_FQDNs_locality
4 years ago
Adam Warner 59b0a6af6f
Remove references to privacy level 4 (no longer functional)
4 years ago
DL6ER 08a84e51d6
Only add local=/<domain>/ when the "only forward FQDN queries" function is enabled to prevent unintended side-effects of this change
4 years ago
DL6ER d631cd8b04
Security enhancement for the "never forward non-FQDNs" feature. This should prevent all local queries from being forwarded (will show up as blocked by regex) as well as any hostname without a domain (for example one word searches from the address bar in browsers). This fixes #3303
4 years ago
Sebastian Gmeiner 8041bbf443 read REV_SERVER_CIDR from environment
4 years ago
Adam Warner 3205606fc3
Also validate IPV6 in the `setdns` function
4 years ago
Dan Schaper 3aaf9d89b3
Merge pull request #3260 from pi-hole/new/rev-server
4 years ago
DL6ER 9bf0f2a161
Reduce handholding when trying to foresee the intentions of the user. The code does now preserve legacy behavior and users can open up the subnet manually if they like.
4 years ago
Adam Warner 011fa8c6ea
fix sticklr complaint
4 years ago
Adam Warner 0320d85028
Additionally source the install script in webpage.sh to validate IP entered on `pihole -a setdns`
4 years ago
DL6ER 2b1bc6a46e
Replace possible "\#" by "#". This fixes AdminLTE#1427
4 years ago
DL6ER 6160eb6894
This regex is too complex for bash's own replacement. Add ignore for the shellcheck rule.
4 years ago
DL6ER 318ca75269
Merge branch 'development' into new/rev-server
4 years ago
Frank Riley 9d04c517e6 Reload the lists, which will cause the cached privacy level to be updated.
4 years ago
DL6ER b421e422c2
Merge pull request #3351 from marank/development
4 years ago
Adam Warner be25b4d9c4
Merge pull request #3352 from pi-hole/merge-master-dev
4 years ago
DL6ER a9c66c7b45
Implement pihole -a theme option
4 years ago
Matthias Rank 2b9898e9ca Fixed indentation
4 years ago
Matthias Rank 0add5eb291 Added support for CNAME record add/remvoe
4 years ago
DL6ER 78469ee58d
Merge pull request #3255 from pi-hole/tweak/emailregex
4 years ago
Adam Warner 369288cc48
Update advanced/Scripts/webpage.sh
4 years ago
DL6ER 989bbad37e
Remove pihole -a hostrecord
4 years ago
DL6ER 093054a1eb
Automatically convert legacy IP range to Class C network
4 years ago
DL6ER 4130af0aab
Retain rev-server settings when the feature gets disabled.
4 years ago
DL6ER 90a5a13197
Convert CONDITIONAL_FORWARDING to REV_SERVER settings. Try to detect intended CIDR range automatically.
4 years ago