[Samba] DNS record info (samba-tool)

Stuart Naylor stuartiannaylor at thursbygarden.org
Tue Apr 8 10:08:39 MDT 2014


Even though you can create and delete DNS records I have been puzzling how you list records that might be in a zone?

samba-tool dns add SAMBA1.SAMBA4.LAN 1.168.192.in-addr.arpa 32 PTR SAMBA1.SAMBA4.LAN --username=administrator

say the above adds a record to 1.168.192.in-addr.arpa even if I do a zoneinfo on 1.168.192.in-addr.arpa

pszZoneName                 : 1.168.192.in-addr.arpa
  dwZoneType                  : DNS_ZONE_TYPE_PRIMARY
  fReverse                    : TRUE
  fAllowUpdate                : DNS_ZONE_UPDATE_SECURE
  fPaused                     : FALSE
  fShutdown                   : FALSE
  fAutoCreated                : FALSE
  fUseDatabase                : TRUE
  pszDataFile                 : None
  aipMasters                  : []
  fSecureSecondaries          : DNS_ZONE_SECSECURE_NO_XFER
  fNotifyLevel                : DNS_ZONE_NOTIFY_LIST_ONLY
  aipSecondaries              : []
  aipNotify                   : []
  fUseWins                    : FALSE
  fUseNbstat                  : FALSE
  fAging                      : FALSE
  dwNoRefreshInterval         : 168
  dwRefreshInterval           : 168
  dwAvailForScavengeTime      : 0
  aipScavengeServers          : []
  dwRpcStructureVersion       : 0x2
  dwForwarderTimeout          : 0
  fForwarderSlave             : 0
  aipLocalMasters             : []
  dwDpFlags                   : DNS_DP_AUTOCREATED DNS_DP_DOMAIN_DEFAULT DNS_DP_ENLISTED 
  pszDpFqdn                   : DomainDnsZones.samba4.lan
  pwszZoneDn                  : DC=1.168.192.in-addr.arpa,CN=MicrosoftDNS,DC=DomainDnsZones,DC=samba4,DC=lan
  dwLastSuccessfulSoaCheck    : 0
  dwLastSuccessfulXfr         : 0
  fQueuedForBackgroundLoad    : FALSE
  fBackgroundLoadInProgress   : FALSE
  fReadOnlyZone               : FALSE
  dwLastXfrAttempt            : 0
  dwLastXfrResult             : 0

But if I wanted to browse and delete a record how do I do it?

 
 
-----Original message-----
> From:samba-request at lists.samba.org <samba-request at lists.samba.org>
> Sent: Monday 7th April 2014 19:00
> To: samba at lists.samba.org
> Subject: samba Digest, Vol 136, Issue 8
> 
> Send samba mailing list submissions to
> samba at lists.samba.org
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.samba.org/mailman/listinfo/samba
> or, via email, send a message with subject or body 'help' to
> samba-request at lists.samba.org
> 
> You can reach the person managing the list at
> samba-owner at lists.samba.org
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of samba digest..."
> Today's Topics:
> 
>    1. Samba documentation team meeting reminder (Marc Muehlfeld)
>    2. Re: samba 4.1 CTDB (Klaus Hartnegg)
>    3. Re: changing server role = standalone server to 'member
>       server' (Andrew Bartlett)
>    4. Re: samba 4.1 CTDB (Sabuj Pattanayek)
>    5. DNS - block ip of second nic (Andreas Grabner)
>    6. Re: samba 4.1 CTDB (Taylor, Jonn)
>    7. Re: samba-tool illegal instruction setting up Kerberos auth
>       for http (Rowland Penny)
>    8. Re: winbind bug? (Rowland Penny)
>    9. Re: winbind bug? (Doug Tucker)
>   10. Re: DNS - block ip of second nic (Marc Muehlfeld)
>   11. Re: winbind bug? (Rowland Penny)
>   12. Re: winbind bug? (Doug Tucker)
>   13. Re: winbind bug? (Rowland Penny)
>   14. Re: winbind wiki ( and extra sernet info conserning winbind )
>       (Marc Muehlfeld)
>   15. Re: winbind bug? (Doug Tucker)
>   16. Re: DNS - block ip of second nic (Andreas Grabner)
>   17. Re: winbind bug? (Rowland Penny)
> _______________________________________________
> samba mailing list
> samba at lists.samba.org
> https://lists.samba.org/mailman/listinfo/samba
> 


More information about the samba mailing list