WebPagetest Forums
Multiple Chromium Host Resolver Rules Supported? - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: WebPagetest (/forumdisplay.php?fid=7)
+--- Forum: Bugs/Issues (/forumdisplay.php?fid=10)
+--- Thread: Multiple Chromium Host Resolver Rules Supported? (/showthread.php?tid=15855)



Multiple Chromium Host Resolver Rules Supported? - lanstreamer - 07-31-2019 09:02 PM

Hi there

I'm new here and checking out the Host Resolver Rules functionality for Chromium tests.

I'd really like to override multiple distinct domains in my test - is this supported by WPT and / or Chrome?

If I specify one MAP Host Resolver rule

MAP prod.example.com test.example.com

WPT generates this Command Line

Command Line: --host-resolver-rules="MAP prod.example.com test.example.com,EXCLUDE localhost,EXCLUDE 127.0.0.1"

and the host resolver override works fine during the test.

But how about if I want to specify two or more host resolver overrides - what's the syntax then?

I've tried

MAP prod.example.com test.example.com, MAP prod.example.com test2.example.com

and

MAP prod.example.com test.example.com,prod2.example.com test2.example.com

But neither of these seem to work.

Anyone know if I can do this and if so how?