DNS isn't working... (bogus)

These are old archives. They are kept for historic purposes only.
Locked
Sphynx
Posts: 9
Joined: Mon Jul 26, 2004 8:11 pm

DNS isn't working... (bogus)

Post by Sphynx »

I registered a domain and directed it to my IP. However, UnrealIRCd won't load, and it's saying that my domain is invalid.

...Help?
AngryWolf
Posts: 554
Joined: Sat Mar 06, 2004 10:53 am
Location: Hungary
Contact:

Post by AngryWolf »

You haven't specified much helpful details about your problem, it's hard to help without them. Could you please tell us what the exact error message is and what domain you've got?
Sphynx
Posts: 9
Joined: Mon Jul 26, 2004 8:11 pm

Post by Sphynx »

It says, "::set::dns::nameserver... (my.dns.thing) is not a valid IP"
I thought the DNS went in there. I got one and set it to redirect to my IP. Although this may not affect my problem, I have another question...Am I supposed to point it to my IP?

- Sphynx
AngryWolf
Posts: 554
Joined: Sat Mar 06, 2004 10:53 am
Location: Hungary
Contact:

Post by AngryWolf »

Oh, so unreal32docs.html is wrong about what you are supposed to specify as the value of set::dns::nameserver, because as we can see, it refuses hostnames. It requires a real IP address, from where a (kind of generic) nameserver is available (you know, ie. the one your ISP provided), which is used to resolve the hostnames of, among other things, every incoming connections. (You are using Windows, aren't you?)

Moreover, Unreal didn't say 'your domain is invalid'. It said 'your domain is something but an IP'. You should read error messages more carefully.

Additionally, I think you don't understand the difference between 'DNS' and 'domain', am I right?
Sphynx
Posts: 9
Joined: Mon Jul 26, 2004 8:11 pm

Post by Sphynx »

Okay, maybe I should split this into the questions which I need answers to.

1. Do I direct my dynamic DNS to my numeric IP address?
2. Where in the unrealircd.conf do I determine the nameserver, if there is anywhere apart from dns::nameserver?
3. If I have no nameserver, does that mean that nobody except me can connect to my server?

Yes, I'm using Windows.

Edit: Also, I've seen it said that you and others can connect by connecting to your IP address. That doesn't work for me. Is it in the format of 00.00.00.00?
AngryWolf
Posts: 554
Joined: Sat Mar 06, 2004 10:53 am
Location: Hungary
Contact:

Post by AngryWolf »

1. I don't get your question, sorry. I'll try to answer anyway. The first sentence on this page (sorry for the advertisement) tells you what a dynamic DNS is and what to do with it. There's nothing wrong with setting your domain (via a dynamic DNS service) to point to your IP address, so I think the answer is: yes. But correct me if I'm wrong.

2. Nowhere else but set::dns::nameserver. As I described in my previous post, don't put your.domain.com there, neither the.address.of.a.dynamic.dns.service. Just the IP address of the DNS provided by your ISP.

3. No. Without a namserver, you wouldn't be able to download the latest Unreal by typing http://www.unrealircd.com as an address in your browser. You have to type http://64.84.10.70/ (or something similar) instead. It wouldn't either work if you typed "ping http://www.unrealircd.com" if an MS-DOS prompt, because the address couldn't be resolved. However, that doesn't happen to others with a good nameserver configuration (Control Panel -> Network Settings, DNS configuration, whatever, you know). They can still type either http://www.unrealircd.com or irc.yourdomain.com. They can still connect to your IRC server. But you, however, couldn't. But if you use an IP address to connect, it should work. Also, if your server runs on your computer, you can always connect to it with the "localhost" address.

But I think that's not your question. I think you wanted to ask who could connect to your server with a wrong set::dns::namserver configuration or with the set::options::dont-resolve option. The answer is: everyone. It depends on whether the address they use to establish a connection, works or not. The only thing would happen is, your IRC server wouldn't be able to resolve hostnames, therefore, for example, hostname based bans would make no sense.

Answering your last question: are you sure you have the basic networking knowledge?

Anyway, I'm starting to think, I should not answer these questions about DNS. See question 4 in the FAQ to find out why.
Syzop
UnrealIRCd head coder
Posts: 2179
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Post by Syzop »

This is getting a bit crazy.
set::dns has nothing to do with your domain name.
And no, you don't even need a domain name in order to run an IRCd, it's just a bit more convenient to use 'irc.blah.com' instead of '1.2.3.4' :p.

I suggest you to learn a bit more on networking/IRC, like it seems you don't even understand what IP's are.. :(.
Locked