No, not all of Alaska experiences 30 days of night. However, some parts of the state do go through a period of extended darkness during the winter months.

The phenomenon of 30 days of night is known as polar night or polar darkness, which occurs in areas that lie within the polar circles. The Arctic Circle lies at approximately 66.5 degrees north latitude, and the Antarctic Circle lies at approximately 66.5 degrees south latitude. During the winter solstice, the tilt of the Earth’s axis is such that the sun’s rays do not reach the areas within the polar circles, leading to extended periods of darkness.
In Alaska, the northernmost city of Utqiagvik (formerly known as Barrow) is located above the Arctic Circle and experiences a period of polar night lasting for about two months from mid-November to mid-January. During this time, the sun remains below the horizon, leading to extended darkness. Other areas in Alaska located above the Arctic Circle, such as Prudhoe Bay and Kaktovik, also experience polar night to varying degrees.
However, not all of Alaska lies above the Arctic Circle, and therefore not all of the state experiences polar night. In fact, only about 5% of the state’s population lives in areas that are located within the polar circles. The rest of the state experiences a normal diurnal cycle of daylight and darkness, with daylight lasting for more extended periods during the summer months and shorter periods during the winter months.
The length of daylight and darkness in Alaska is influenced by the state’s high latitude and its proximity to the North Pole. The farther north you travel in Alaska, the longer the period of daylight during the summer months and the shorter the period of daylight during the winter months. This is because the angle of the sun’s rays changes as you move closer to the poles, resulting in more extreme differences in daylight and darkness between the seasons.
For example, the city of Anchorage, located in southcentral Alaska, experiences around 19 hours of daylight during the summer solstice in June and around 5 hours of daylight during the winter solstice in December. The city of Fairbanks, located in interior Alaska, experiences around 22 hours of daylight during the summer solstice and around 3.5 hours of daylight during the winter solstice.
In summary, while some parts of Alaska do experience polar night and extended periods of darkness during the winter months, not all of the state is affected. Most of the population lives in areas that do not lie within the polar circles and experience a normal diurnal cycle of daylight and darkness, albeit with more extreme variations between the seasons due to the state’s high latitude.