Q&A: ehcp dns conversation

(15:13:48) ehcp user: question
(15:13:56) ehcp user: in EHCP
(15:14:10) ehcp user: how can I assign a subdomain to a different IP address
(15:14:15) bv-infoehcp: .
(15:14:27) ehcp user: I tried adding an A-record to it
(15:14:31) bv-infoehcp: 2 ways
(15:14:35) bv-infoehcp: 1- custom dns
(15:14:40) bv-infoehcp: 2- "edit dns template"
(15:14:43) bv-infoehcp: both has same effct
(15:15:21) ehcp user: i don't think I want to change the template
(15:15:30) bv-infoehcp: template is changed only for that domain
(15:15:35) ehcp user: because that would count for all new domains right?
(15:15:38) ehcp user: ahh
(15:15:43) ehcp user: but still
(15:15:53) ehcp user: I changed /etc/bind/domain.com
(15:16:00) bv-infoehcp: dont change that
(15:16:04) bv-infoehcp: that is overwritten by ehcp
(15:16:05) bv-infoehcp: each time
(15:16:20) ehcp user: i see
(15:16:21) ehcp user: when?
(15:16:37) bv-infoehcp: whenever you add/remove a domain, or you issue "sync dns" command
(15:16:48) bv-infoehcp: add subdomain etc...
(15:16:51) ehcp user: ah!
(15:16:57) ehcp user: how do you do a sync dns
(15:16:58) ehcp user: ?
(15:17:06) bv-infoehcp: options->sync dns
(15:17:12) ehcp user: ok
(15:17:20) ehcp user: does that do /etct/init.d/bind9 reload ?
(15:17:25) bv-infoehcp: sure
(15:17:47) ehcp user: well
(15:17:51) ehcp user: I did that myself
(15:17:56) bv-infoehcp: :D
(15:17:59) ehcp user: but it didn't work
(15:18:02) ehcp user: it fails
(15:18:09) bv-infoehcp: bind reload fails ?
(15:18:13) ehcp user: yes
(15:18:15) bv-infoehcp: then,
(15:18:22) ehcp user: EHCP doesnt see this
(15:18:24) bv-infoehcp: you have something wrong in custom dns or somewhere
(15:18:24) ehcp user: but it does
(15:18:33) ehcp user: apparantly
(15:18:35) bv-infoehcp: what is error
(15:18:36) bv-infoehcp: ?
(15:18:39) ehcp user: hang on
(15:19:28) ehcp user: permitted by applicable law.
jigsaw11:~# /etc/init.d/bind9 reload
Reloading domain name service...: bindrndc: connection to remote host closed
This may indicate that the remote server is using an older version of
the command protocol, this host is not authorized to connect,
or the key is invalid.
failed!
jigsaw11:~#
(15:19:57) bv-infoehcp: ps aux | grep bind ?
(15:20:13) ehcp user: it's not running
(15:20:29) ehcp user: restart doesn't work either :)
(15:20:31) bv-infoehcp: then, /etc/init.d/bind9 restart
(15:20:35) bv-infoehcp: or start
(15:20:48) ehcp user: same thing
(15:20:58) ehcp user: The thing is
(15:20:59) bv-infoehcp: the error should be different for start
(15:21:05) ehcp user: bind doesn't run
(15:21:07) ehcp user: never
(15:21:09) ehcp user: but still
(15:21:12) ehcp user: DNS seems ok
(15:21:17) bv-infoehcp: :)
(15:21:19) ehcp user: how can that?
(15:21:44) bv-infoehcp: I dont know.. where it is seen as ok ?
(15:22:07) ehcp user: wel
(15:22:11) ehcp user: nowhere
(15:22:13) ehcp user: but it works
(15:22:16) ehcp user: i mean
(15:22:24) ehcp user: I can access the site
(15:22:27) bv-infoehcp: :)
(15:22:31) bv-infoehcp: very interesting
(15:22:37) ehcp user: i know
(15:22:42) bv-infoehcp: magic
(15:22:43) ehcp user: that' s why I come to you
(15:22:47) bv-infoehcp: hmm.
(15:22:53) bv-infoehcp: i need to investigate
(15:22:58) ehcp user: I am not a complete idiote on Linux myself, but this is odd
(15:23:06) ehcp user: So
(15:23:10) ehcp user: I googled a little
(15:23:14) bv-infoehcp: what is your domain, your ip ?
(15:23:37) ehcp user: and found out that this error message can be caused by rndc not properly set up
(15:24:17) ehcp user: So I got a new key out of rndc-confgen and used that
(15:24:33) ehcp user: in named.conf, rndc.conf and rndc.key
(15:24:43) ehcp user: same result
(15:25:07) bv-infoehcp: 1min
(15:25:16) ehcp user: brb
(15:30:51) ehcp user: b
(15:31:00) bv-infoehcp: .
(15:32:32) ehcp user: AHA!!!
(15:32:43) ehcp user: I have got named running!!
(15:32:50) ehcp user: root 32731 0.0 1.9 80476 3788 ? Ssl Sep02 0:01 /usr/sbin/named
(15:32:55) ehcp user: isnt that a problem?
(15:39:34) ehcp user: Say, I found this:
http://www.mail-archive.com/grml@mur.at/msg00690.html
(15:42:08) ehcp user: Same problem. But that solution does not work
(15:42:14) ehcp user: for me

Forums: