| |
| |
| |
|
Page: 1 2
Comments:
<Worth> did you check today's solar storm forecast? <dan__t> Hi. <dan__t> Is '@' in a zone file a reference to the domain itself? <Wulf4> yes <dan__t> Is that correct for both BIND8 and BIND9? <dan__t> So I could have something such as '@ IN MX 10 some.host.com.' and that'd be just as good as 'domain.tld IN MX 10 some.host.com.'? <Wulf4> domain.tld. <dan__t> ah yes, sorry. <dan__t> thank you. <mrproper> Hi. I am setting up bind for the first time and having a hard time getting it working. <Worth> how far did you get? <mrproper> I kind of setup a config file. But when I do a nslookup, it doesn't give the right IP. <Worth> what does it give? <mrproper> Well... <mrproper> It seems to be getting the IP from another DNS server, so I think it's skipping it entirely. It's giving the landing page of my domain. <Worth> can I see the config file? <mrproper> Sure. <mrproper> Which file do you need to see? <Worth> named.conf, for now <mrproper> http://kbreit.dyndns.org:8080/code/named.conf <Worth> what are you trying to lookup? <mrproper> theresalwaysnextyear.com <Worth> can I see /etc/bind/named.conf.local? <mrproper> http://kbreit.dyndns.org:8080/code/named.conf.local <mrproper> hmmm...that maybe my problem? <Worth> none of the files mention anything about theresalwaysnextyear.com <mrproper> http://kbreit.dyndns.org:8080/code/named.conf.local <Worth> there we go <Worth> can I see the zone file too? <mrproper> Sure. Where does bind9 default to storing them? <Worth> did you create one? <mrproper> Yeah I did. <Worth> show me /etc/bind/named.conf.options <mrproper> http://kbreit.dyndns.org:8080/code/named.conf.options <mrproper> Is it weird that it stores stuff in /var/cache/bind <Worth> no <Worth> is your zone file in there? <mrproper> Yes <Worth> can I see it? <mrproper> Hmm... <mrproper> I think I may see my issue <mrproper> Bah, no. <mrproper> http://kbreit.dyndns.org:8080/code/named.theresalwaysnextyear.com <Worth> did you reload or restart bind? <mrproper> Tes <mrproper> Yes <Worth> anything in the syslog? <mrproper> Where does it typically drop logs? <Worth> /var/log/syslog, I bet <mrproper> Oh it gives nice little syntax errors, huh <mrproper> Jun 28 20:31:30 localhost named[22671]: /etc/bind/named.conf:54: missing ';' before end of file <Worth> last line of named.conf.local <Worth> change } to }; <mrproper> Jun 28 20:37:03 localhost named[22700]: dns_rdata_fromtext: named.theresalwaysnextyear.com:7: near eol: unexpected end of input <Worth> add an email address to the SOA <mrproper> Which order do I put that? <Worth> theresalwaysnextyear.com. IN SOA ns1.theresalwaysnextyear.com. user.domain.tld. { <mrproper> user.domain.tld. is my email? <Worth> yes <mrproper> No @? <Worth> note that the @ is replaced by a . <mrproper> What if my email address has a . in it? <Worth> @ is a special character <Worth> no matter <mrproper> It works backward? <mrproper> kevin.breit.gmail.com <Worth> no, my email address is vk@the-source.us, which will be written as vk.the-source.us <mrproper> Mine is kevin.breit@gmail.com <Worth> that is correct if your email is kevin.breit@gmail.com <mrproper> Jun 28 20:40:53 localhost named[22761]: dns_master_load: named.theresalwaysnextyear.com:13: unknown RR type 'ns1' <Worth> on top of the file, write $ORIGIN theresalwaysnextyear.com. <mrproper> Same error with ns1. <mrproper> BTW, this is behind NAT, whether it matters or not. <Worth> change that line to: @ ns1 IN A 71.201.124.230 <Worth> uh no <Worth> don't <Worth> I'm being drunk again <mrproper> What's the @ do? <muaddib> In regards to DNS has anyone every recieved this error on Bind 9 in-addr.arpa: not at top of zone <Worth> mrproper: this is one of my zones -- http://rafb.net/paste/results/285Jxa62.html <muaddib> When I run named-checkzone it reports back the zone files are ok <mrproper> @ theresalwaysnextyear.com. IN SOA ns1.theresalwaysnextyear.com. kevin.breit.gmail.com ( <mrproper> Is that line off? <Worth> that line is ok <mrproper> Should I have a @ or no? <Worth> the @ replaces $ORIGIN <muaddib> any thoughts or comments <Worth> muaddib: the syntax might be correct, but the logic isn't <muaddib> Worth: Please explain <mrproper> Worth, Do you have any idea why ns1 IN A 71.201.124.230 ios wrong? <Worth> mrproper: it's not, the error is somewhere else <mrproper> Worth, What does the error that I'm getting mean? <Worth> mrproper: it parses the line as something else. what happens if you put a @ in front of the first IN A? <muaddib> Worth: Is is the file http://rafb.net/paste/results/QT4yX557.html <mrproper> Worth, Hmmm...is it possible that because I'm doing IN NS ns1... is breaking things? <muaddib> I don't see why that is reporting an error <mrproper> muaddib, Yeah same thing. <Worth> mrproper: no, that won't break it <muaddib> mrproper: What do you mean same thing <mrproper> muaddib, Same error. <Worth> muaddib: does it mention a file and line number? <muaddib> Worth: line 10 <Worth> mrproper: try this -- http://rafb.net/paste/results/9xJ0oQ22.html <Worth> muaddib: in the zone file? <muaddib> Worth: Yes it reports line 10 being the problem when I comment line 10 it reports that line 9 is the problem when I comment both it reports dns_master_load: 178.232.70.in-addr.arpa:3: 178.232.70.in-addr.arpa: not at top of zone <mrproper> Worth, Oh heck yes, that works. <mrproper> I wonder what fixed it. <muaddib> Ok I missed the log the error starts at line 3 <muaddib> of my zone file <mrproper> Worth, Would you be so kind to nslookup my domain? <Worth> muaddib: I'm testing your zone here now <muaddib> Worth: Thanks I greatly appreciate it <muaddib> l <Worth> # host theresalwaysnextyear.com <Worth> theresalwaysnextyear.com has address 68.178.232.100 <Worth> theresalwaysnextyear.com mail is handled by 0 smtp.secureserver.net. <Worth> theresalwaysnextyear.com mail is handled by 10 mailstore1.secureserver.net. <mrproper> Worth, Okay that's not right. <mrproper> Worth, Now how can I get my data to be published or referred to? <Worth> but that's from the secureserver.net nameservers <muaddib> Worth: any luck <Worth> well, it loads with no errors <mrproper> Worth, I gotta setup godaddy I guess. <Worth> muaddib: what does your named.conf clause look like? <mrproper> Worth, How do I tell godaddy which nameservers to use if the nameserver to refernece isn't publishing? <muaddib> Worth: http://rafb.net/paste/results/QpqWJW31.html <muaddib> that is my named.conf <Worth> muaddib: http://rafb.net/paste/results/rTYovV48.html <== after copying your zone file and referencing it in named.conf <muaddib> Worth: what zone file do you want <muaddib> http://rafb.net/paste/results/wyHdP822.html <Worth> muaddib: looks ok to me <mrproper> Worth, What do you get if you do a nslookup ns1.theresalwaysnextyear.com <Worth> ahem <Worth> muaddib: line 85 in the last paste <Worth> muaddib: you have commented out the ending ) for the SOA clause <Worth> the SOA never gets terminated <Worth> mrproper: ns1.theresalwaysnextyear.com has address 68.178.232.99 <mrproper> Worth, Hmmm...yeah. <mrproper> Worth, Yeah, I'm not sure what to tell godaddy to use as my dns. <Worth> mrproper: what is the ip of it? <mrproper> 71.201.124.230 <Worth> well, you need to make those servers slaves <Worth> right? <mrproper> What servers slaves? The ones from godaddy? <Worth> if you want to have the master on 71.201.124.230, yes <mrproper> Oh no kidding. How do I do that/ <mrproper> Worth, So the master publishes to the slave. I see. <Worth> I don't know <mrproper> Worth, Is it a preference I set in bind or on their site? <Worth> I know how to set it up with bind, but not at godaddy <muaddib> Worth: Ok
Return to
#bind or Go to some related
logs:
install snd_hda debian #ubuntu #perl #gaim #osdev hdc error code: 0x70 ubuntu #css mysqldump not using mysql socket ipw2200: Failed to send TX_POWER: Command timed out.
clamd telnet 3310 connection refused
|
|