I am very new to consul and have registered a service with consul with following configuration.
{"service": {"name": "wrapper", "tags": ["consul-wrapper"], "port":8000,"address":"127.0.0.1",}}
I have also set up dnsmasq so that dns queries get resolved by consul server running on 127.0.0.1:8600
Now whenever I try to access my service like wrapper.service.consul
it gets resolved and goes to port 80 instead of 8000.
What am i missing here?