While they still own a comfortable lead in the NL West, the slumping Los Angeles Dodgers are in danger of losing their hold on home-field advantage in the playoffs.

They're also on the verge of their longest losing streak at Dodger Stadium in two years, though they haven't lost when Zack Greinke has started there since early June.

The All-Star right-hander will try to help Los Angeles get back on track while continuing his historic season Wednesday night against the Arizona Diamondbacks.

More from FoxSports

Los Angeles (85-65) had its division lead cut to six games after Tuesday's 8-0 loss and San Francisco's win. However, the club remains in the driver's seat to win a third straight title with 12 games remaining.

The Dodgers, however, are clinging to a half-game edge on the East-leading New York Mets in the race for home-field advantage in a potential division series matchup. Now they're looking to avoid matching their longest skid of the season and longest home slide since May 1-10, 2013.

They should be in good hands with Greinke (18-3, 1.65 ERA), who will try to win a career high-tying sixth consecutive start. He's also gone 9-1 with a league-best 1.48 ERA in 16 home outings.

Greinke has a chance to become only the fifth Dodger since 1914 to win eight straight home starts in a single season. Sandy Koufax (10, 1964), Burleigh Grimes (8, 1918), Dazzy Vance (8, 1927) and teammate Clayton Kershaw (8, 2011) are the others.

"I pitch good at home," he told MLB's official website. "I'm just more comfortable."

Greinke has an 18-inning scoreless streak versus the Diamondbacks after winning a pair of starts against them this season. He's 7-0 with a 1.19 ERA in nine meetings since joining Los Angeles in 2013.

Paul Goldschmidt is 4 for 23 with 12 strikeouts lifetime when facing Greinke, while Ender Inciarte, Chris Owings and David Peralta are a combined 0 for 27.

Goldschmidt, though, homered for the second straight night Tuesday when Arizona won for only the third time in 16 games at Chavez Ravine. He's batting .388 with 11 homers and 26 RBIs in his last 22 meetings.

A.J. Pollock added his 18th home run and has a .400 average over an 11-game hitting streak. Rookie Brandon Drury has gone 5 for 9 with a home run, double and four RBIs in this series.

The Diamondbacks (73-78) are seeking their fifth win in the first six of this 10-game road trip.

Chase Anderson (6-6, 4.52) had been removed from the rotation after allowing five runs and two homers over two-plus innings in a 6-2 home loss to San Francisco on Sept. 8. The right-hander, though, has been working with pitching coach Mike Harkey over the past two weeks, and hopes to make the most of another opportunity after impressing in Friday's simulated game.

"Chase looked good," manager Chip Hale said. "He got better and better."

Anderson is 1-1 with a 3.95 ERA in five career starts against the Dodgers. He yielded two hits and struck out seven over six innings in a 1-0 win at Chavez Ravine on May 3. Adrian Gonzalez is 4 for 9 with a home run off him, while Yasmani Grandal has three homers in eight at-bats.

The Dodgers, however, have batted .176 and totaled nine runs during their losing streak after they managed only three singles off Robbie Ray and three relievers Tuesday.

Arizona shortstop Nick Ahmed's status is uncertain after he left Tuesday's game because of a jammed lower back.