The same bug on a verry old and a actual firmware. In boot cases, the client devices always use the upstream devices DNS server and not the on router configured one.
I hope the hint can help how to check, find and fix this bug on actual firmware versions again.