Failover redis with Consul DNS

how does Consul resolve the new redis master ip address after the old redis master get takedown , i have set up consul and redis sentinel can u guide me through the setup , My expectation is when i do dig, the consul will resolve to only one IP address (master). When the master is down and redis sentinel selects the new master. The consul will resolve to new redis master IP address.