VPN and Secure DNS

Hi , if my router has the comodo secure DNS configured in the router but then I connect to a VPN like SurfEasy, does the traffic still passthrough the secure DNS to have the security or does it bypass the secure DNS server altogether?
Thanks