You are not logged in.

#1 2014-03-16 14:03:14

VanillaFunk
Member
From: MA. USA
Registered: 2013-06-10
Posts: 396
Website

Question about powerdns

So I was revisiting my LAMP server project and just to be clear ahead of time the lamp server works fine and can accsess it via IP address from anywhere.

I wanted to set up a dns server so that i could use a name such as metixelement.net and the install config of powerdns seems to have gone correctly I also used poweradmin to help with the process of setting it up.

However after making the Master zone I ran dig to test the setup.

first i tried dig @myip metixelement.net

which timed out so i ran dig www.metixelement.net as well and I got an ip returned which was not mine it was actually my isp

; <<>> DiG 9.9.2-P2 <<>> www.metixelement.net
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 12004
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4000
;; QUESTION SECTION:
;www.metixelement.net.		IN	A

;; ANSWER SECTION:
www.metixelement.net.	0	IN	A	xxx.xxx.xxx.xxx

;; Query time: 74 msec
;; SERVER: 192.168.1.1#53(192.168.1.1)
;; WHEN: Sun Mar 16 09:55:59 2014
;; MSG SIZE  rcvd: 65

i xx out the ip but there was indeed a number there.

I spent an hour on the phone with them asking if they do not allow dns setups and never got an answer just kept getting redirected so I figured one of you would be able to tell me if my assumption is correct or perhaps there is another step i need to take.

the apache server is self hosted and so i am on a residential internet connection.  I am just curious if perhaps I cannot set up a dns behind a dsl isp

--edit --

this is the result of dig @myip metixelement.net

; <<>> DiG 9.9.2-P2 <<>> @xxx.xxx.xxx.xx metixelement.net
; (1 server found)
;; global options: +cmd
;; connection timed out; no servers could be reached

Last edited by VanillaFunk (2014-03-16 14:20:14)


archx86_64 : awesomewm
https://github.com/dreemsoul

Remeber to feed the squirrels

Offline

#2 2014-03-16 21:58:04

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: Question about powerdns

Unless you really know what you're doing I'd suggest not running your own external DNS servers at all (you need >1 to comply with spec), as it's a complicated business.

You should just be able to use the web interface of your domain registrars DNS servers to point your domain to your IP address.

Last edited by Slithery (2014-03-16 22:12:41)


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#3 2014-03-16 22:29:20

VanillaFunk
Member
From: MA. USA
Registered: 2013-06-10
Posts: 396
Website

Re: Question about powerdns

umm if i understand you correctly when you say external dns ... its actually from my local machine... I'm trying to build a webserver out of an old laptop

-- edit --

In the end I would like to be able to plug the old laptop in lan and host a webpage / private email address so that I can A) learn how to do this and B) not have to use a carrier such as gmail or aol etc and still have IMAP service.  However it seems in order to host email I need a dns server from what courier-mta describes.

Last edited by VanillaFunk (2014-03-16 22:38:58)


archx86_64 : awesomewm
https://github.com/dreemsoul

Remeber to feed the squirrels

Offline

#4 2014-03-16 22:50:08

ANOKNUSA
Member
Registered: 2010-10-22
Posts: 2,141

Re: Question about powerdns

What slithery's getting at is that setting up and maintaining both a webs server and domain name server  would a) be a full-time job, and b) quite possibly be a violation of your ISP's service agreement. A DNS is an entirely different beast from a web server. DNS servers are what actually control web traffic from thousands of IPs to registered domains around the Web. There are, as I understand it, some very strict protocols one needs to follow when setting up a DNS server to avoid complications (like getting disconnected by your ISP for trying to circumvent their service).

VanillaFunk wrote:

I wanted to set up a dns server so that i could use a name such as metixelement.net

A name "such as" that? Do you have that domain name registered? If so, the service with which you registered will offer DNS routing through a web interface.  If not... well, you have to register it.  There's no way around that.

EDIT: If private mail is what you're specifically looking for, you'll need to set up MX records via DNS with the company you registered the domain under, and (if you have a dynamic IP) set up dynamic dns as well.

Last edited by ANOKNUSA (2014-03-16 22:53:10)

Offline

#5 2014-03-16 22:54:05

VanillaFunk
Member
From: MA. USA
Registered: 2013-06-10
Posts: 396
Website

Re: Question about powerdns

Alright thanks... so for now there is not a way to set up an email server... and I will have to see if my isp has a package that allows me to do this from what I understand of what you both have said.  Then 3rd I would need to register the name. smile thanks guys for clearing up my questions and I guess my email server will have to wait smile


archx86_64 : awesomewm
https://github.com/dreemsoul

Remeber to feed the squirrels

Offline

Board footer

Powered by FluxBB