I found the bug in my setup. Problem solved.
Using the primary and secondary DNS is not a random thing.
Secondary DNS is used when RPi is not responding. I double check it on the router logs yesterday.
Maybe you have configuration errors on your router?
What router do you use? Firmware, etc.