0

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.

Ben
  • 3,800
  • 18
  • 65
  • 96
  • 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 Answers1

1

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.

zigdon
  • 471
  • 1
  • 4
  • 8