Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I want my SVN server to be accessible via the net. Do I need to modify /etc/resolv.conf to something other than a local IP?

Update:

It'll be hosted locally here in the office but will be available via the web in case an engineer or developer needs to work from home.

share|improve this question
    
A lot more information is required, e.g. where is your SVN server? At home? Hosted by a large company? Do you already have a domain name? Are you skilled in firewall maintenance? Why do you want to offer your SVN repository to the web? Have you considered using a SVN hosting service? And so forth.. –  PP. Mar 24 '10 at 16:24

1 Answer 1

up vote 1 down vote accepted

I'd certainly recommend doing a security review of what exactly you're trying to do, and making sure you're not going to expose things to the Net you don't mean to. For instance, make sure you're accessing your code over a secure link, and not just sending everything in cleartext.

But that said, I wouldn't worry about DNS yet - you need to make your server accessible from the internet (probably a routing/firewalling adjustment). Once that's done, you should be able to access SVN just using the IP (assuming you have svnserv set up).

If that's working properly, you can assign that IP to any DNS name you control - usually that will be done on the DNS server, either yours or your ISP's/hosting company.

/etc/resolv.conf is only used to change how the machine looks up DNS entries, but it has nothing to do with which DNS entries resolve to that machine.

share|improve this answer
    
Awesome thanks, that's what I needed to know :) –  Webnet Mar 25 '10 at 13:04

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.