The NRL has confirmed it is investigating an allegation an NRL staffer made a racist comment at the historic Tonga-Australia rugby league test in Auckland on Saturday night.

An NRL spokesperson told Newshub via a statement that it "takes the allegation very seriously and is investigating the circumstances".

Did you hear the comment at the game? Email newstips@stuff.co.nz

The DJ for the sold out test at Mt Smart Stadium, Alfred Algoodie Aholelei, posted about the incident on Facebook, saying the dance cam at half-time "was fun and looked like lots of people were getting super hyped and dancing to the music".

GETTY IMAGES Former Kangaroos prop Andrew Fifita leading Tonga's Sipi Tau in Auckland.

"So much so that an official with an NRL Polo shirt was in the production room at the time was standing behind me staring at the big screens with a big smile on his face and then shouted these exact words 'Dance Monkey Dance'," Aholelei wrote.

READ MORE:

* Tonga test 'bigger than Origin'

* Tonga set sights on Kiwis

* Kangaroos outclass Tonga

* Hymns calm Tongan crowd

* Tongan pride in South Auckland

﻿"My ears, my mind and my heart could not ignore the ignorance any more and I turned to this man and said, "Did you just say, Dance Monkey Dance"? Really?… It was a quick verbal shove that I put on this guy, but it was enough to let him know that what he said wasn't 'OK'."

GETTY IMAGES Tongan players celebrating a try during their 34-16 defeat against Australia.

​Aholelei said the man tried to apologise for the incident, adding he was so upset that he considered walking away from his role as DJ for the night.

"In that tense moment, this guy knew what damage he had done and quickly moved away, he tried to come back to apologise, but, I shrugged my shoulders away from him and whipped my headphones back on as a sign to say "Go away, I'm working" (the gangsta remix was running through my head though).

"In three words this guy reduced my people to an animal that in some countries suffer cruel acts of abuse by being chained up, physically harmed and being told to 'Dance'.

PHOTOSPORT Mt Smart was a sea of red as Tongan fans created a party atmosphere.

"My people just gifted the world a beautiful vision of love, passion and song, something that has never really seen here or in Australia before and he calls us monkeys? In that moment, I was ready to walk out of that production room and forfeit the second half of that game which would've meant no Tongan music.

"This was more than a Game, for us Tongans/Pacific People, the acknowledgment by the NRL that MMT [Mate Ma'a Tonga] were worthy to play the best team in the world was massive, but the fight to be acknowledged as "People" is still going on.

"I will be taking this incident further formally, but for now I needed to get this off my chest."

"Keep flying your flags whatever they may be, continue to sing the songs that heals and unites people, be proud of who you are and never give in to the ignorance!"

His post on Facebook had been shared more than 3000 times as of Tuesday morning.

The test in Auckland was the first between Tonga and Australia. The sold out crowd of 26,214 watched the world champion Kangaroos win 34-16.