Suffolk police were investigating the shooting of a man at a Yaphank house that also was set on fire Tuesday night.

Police are looking for a suspect who entered the house on Long Island Avenue at about 5:30 p.m. and shot the man and two dogs before “apparently” setting the fire, according to a news release.

Police said the victim, 27, was taken to Stony Brook University Hospital where he was treated for non-life-threatening injuries. He was in surgery and police had not yet interviewed him Tuesday night.

Sixth Squad detectives and Arson Section detectives were investigating the shooting at the ranch-style home between Sills Road and Yaphank Avenue, where, firefighters said, two rooms were damaged by fire.

One of the two dogs died, and the other was taken to a shelter.

Police said early Wednesday that the Suffolk County SPCA will remove a bullet from the dead dog as part of the investigation.

advertisement | advertise on newsday

Yaphank Fire Chief Chris Austin said the fire was confined to the front of the home and was extinguished within 25 minutes of the 5:33 p.m. call.

Police said there were no arrests and could not comment on a possible motive for the shooting.