I'm not sure that will work as there isn't a process as such for OpenDNS just the changes to the browser DNS server.
Just had a look at the avast Help Center, Firewall, Expert settings, Friends and that appears to mention the magic word networks, so I don't know if that would allow you to enter the network IP address (the ones required for OpenDNS) in the Friends Internet In and Out.