A top Australian lawmaker has grabbed headlines after exploding at a misbehaving dog as he was grilled on live TV.