No, you should supply the method for doing this in OpenWrt (editing /etc/dnsmasq.conf is not the suggested method):
On LuCI web GUI:
Via SSH editing /etc/config/dhcp
config domain
option name 'www.example.com'
option ip '192.168.1.171'
config domain
option name 'example.com'
option ip '192.168.1.171'