It is not ideal for a Dachshund puppy to live outside permanently.
Why Indoors Is Better
Puppies need constant socialization with people, animals, and new experiences, which is best achieved inside the home. Indoors is also safer from predators, extreme weather, and accidents. Training and bonding are easier when your puppy is close to you.
Exceptions
Short, supervised outdoor time can help with exercise, potty training, and socialization after vaccinations. In very mild climates with a secure, fenced yard and access to shade and shelter, some daytime outdoor time may be acceptable.
Dachshunds are prone to back problems, so supervise activities to prevent injury. Ultimately, the best environment is indoors with access to a secure yard for supervised play.