Owing to the dangers of working with natural gas, it is best to hire a professional to repair a gas dryer. Even when a repair seems simple, it is unsafe to tamper with gas lines.
One of the reasons it is considered risky for a lay person to attempt to repair a gas dryer is that gas leaks occur easily and are not always noticeable. These leaks can occur either when cutting off the supply or when hooking the line back up after completing repairs. A gas leak can cause carbon monoxide poisoning, which kills hundreds of Americans each year.