dynDNS update with two WAN connections

Hi,

I have two nic(S)/WAN. how can i define failover nic in my dynamic DNS update script?