These are chat archives for CZ-NIC/knot-resolver

31st
Aug 2018
edoo
@ookangzheng
Aug 31 2018 14:00
How can I add multiple domain on this line of code
policy.add(policy.suffix(policy.FORWARD(‘9.9.9.9’), {todname('www.meizu.com')}))
Can I add something like
todname(‘www.meizu.com’, ‘www.google.com’, ‘www.yahoo.com’)
Vladimír Čunát
@vcunat
Aug 31 2018 14:11
todname is from a single string to a single dname
@ookangzheng policy.todnames transforms a list to a list