Just a tip and something that bit me before - bind updates its data
in the journal and won't dump new data to the zone files
immediately. You can force it do dump the data so that you can see
it by restarting bind.
You can also test to make sure DNS is being added by digging for the
record. IE, dig @localhost dayhoff.morgan.haib.org. If you get an A
record back, your DNS is working fine.
On 1/16/2014 12:39 PM, Josh Nielsen
wrote:
Is there any way to debug what exactly the makedns
command does to named/bind, as in what command it issues? Or
does it directly edit the named files? I could run the named
daemon with "-d 9" for debugging level 9 but I've done that
before and the output is daunting and nearly incomprehensible
for the non-veteran in DNS. As I said, running "makedns" by it
self works fine, but using -d or -n causes problems. I have no
way of knowing what xCAT does in the background with those
options.
I checked and /etc/hosts is correct, and /etc/resolv.conf is as
well. The site table has all five possible dns attributes
(domain, dnshandler, forwarders, master, and nameservers) set
correctly, and the networks are defined for every subnet we use.
There is nothing that I can see that would cause it to parse
incorrectly, especially since it echoed to /var/log/messages
that it was going through /etc/hosts and creating entries (but
really it didn't) for each host. I did have to add one entry
manually into /etc/hosts though for a SAN storage system. Would
seeing an unrecognized node cause problems? And if so why is
there nothing in the logs about it? I saw it say that it was
adding an entry for that node (even though it didn't - like
every other entry):
"Jan 16 10:32:53 x3650-head01 named[8249]: client
10.20.0.1#56079: updating zone ' morgan.haib.org/IN':
adding an RR at ' dayhoff.morgan.haib.org'
A"
If I can find out what xCAT is doing to make the changes perhaps
I can reproduce it manually in a test environment and see what
is causing it to wipe out the entries.
-Josh
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user
|
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user