nameserver: decrease maximum CNAME/DNAME chain length from 20 to 5
The reason for this change is to reduce possible amplification attacks and other negative effects of long processing loops. Also most resolvers don't accept multiple jumps without requerying, so this change should be harmless.
parent
06a319ca
No related branches found
No related tags found
Showing
- src/knot/nameserver/internet.h 2 additions, 2 deletionssrc/knot/nameserver/internet.h
- tests-extra/data/flags.zone 5 additions, 1 deletiontests-extra/data/flags.zone
- tests-extra/tests/basic/cname-follow/test.py 1 addition, 1 deletiontests-extra/tests/basic/cname-follow/test.py
- tests-extra/tests/basic/query/test.py 24 additions, 7 deletionstests-extra/tests/basic/query/test.py
Please register or sign in to comment